// SDLActivity shell around native_render (libmain.so). The native libraries, the SDL Java sources // and the assets come from ../build-android-native, produced by ../build-android-native.sh. plugins { id 'com.android.application' } def nativeBuild = file("${rootDir}/../build-android-native") android { namespace = 'org.metin2port.client' compileSdk 35 defaultConfig { applicationId 'org.metin2port.client' minSdk 24 targetSdk 35 versionCode 1 versionName '0.1' ndk { abiFilters 'arm64-v8a' } } buildTypes { release { minifyEnabled false signingConfig signingConfigs.debug } } sourceSets.main { java.srcDirs += "${nativeBuild}/_deps/SDL3-3.4.16/android-project/app/src/main/java" jniLibs.srcDirs = ["${nativeBuild}/jniLibs"] assets.srcDirs = ["${nativeBuild}/app-build/native_render/android-assets"] } packagingOptions { jniLibs { useLegacyPackaging = true } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } lint { abortOnError = false } }