diff --git a/enigma/build.gradle b/enigma/build.gradle new file mode 100644 index 00000000..d21f1bc0 --- /dev/null +++ b/enigma/build.gradle @@ -0,0 +1,51 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion "29" + android.ndkVersion "23.0.7599858" + defaultConfig { + applicationId "enigma.game" + minSdkVersion 19 + targetSdkVersion 29 + versionCode 1 + versionName "1.0" + externalNativeBuild { + ndkBuild { + arguments "APP_PLATFORM=android-19" + abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' + } + } + } + + applicationVariants.all { variant -> + variant.outputs.all { + outputFileName = "$System.env.BASENAME" + } + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } + + sourceSets.main { + jniLibs.srcDir 'libs' + } + + externalNativeBuild { + ndkBuild { + buildStagingDirectory "$System.env.WORKDIR/ndk-build" + path './Android.mk' + } + } + + lintOptions { + abortOnError false + } +} + +dependencies { + implementation fileTree(include: ['*.jar'], dir: 'libs') +} diff --git a/enigma/local.properties b/enigma/local.properties new file mode 100644 index 00000000..1905e01a --- /dev/null +++ b/enigma/local.properties @@ -0,0 +1 @@ +sdk.dir = "%HOME%/Android/Sdk/"