plugins { id 'com.android.application' version '8.1.0' } android { namespace 'fi.pulk.hacraft' compileSdk 33 defaultConfig { applicationId 'fi.pulk.hacraft' versionCode 1 versionName '1.0' minSdk 19 targetSdk 28 externalNativeBuild { cmake { arguments '-DSDL_ROOT=' + project.property('sdlRoot') abiFilters 'arm64-v8a', 'x86_64' } } } externalNativeBuild { cmake { path 'jni/CMakeLists.txt' } } sourceSets { main { java.srcDir project.property('sdlRoot') \ + '/android-project/app/src/main/java' } } lintOptions { // SDL's java shim has unaddressed linter warnings, and this is // how they deal with them, apparently. *shrug* // (Based on android-project/app/build.gradle, anyway.) abortOnError false } }