apply plugin: 'com.android.application' allprojects { gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } } } android { compileSdkVersion 31 defaultConfig { applicationId "com.openrsc.client" minSdkVersion 14 targetSdkVersion 31 multiDexEnabled false } buildTypes { release { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' debuggable false jniDebuggable false renderscriptDebuggable false multiDexEnabled = true renderscriptOptimLevel = 3 minifyEnabled = false } debug { multiDexEnabled = true minifyEnabled = false } } productFlavors { } compileOptions { sourceCompatibility = '1.8' targetCompatibility = '1.8' sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } sourceSets { main.java.srcDirs += ['src/main/java', 'src/main/../../../../Client_Base/src'] } buildToolsVersion '31.0.0' dependenciesInfo { includeInApk true includeInBundle true } namespace 'com.openrsc.client' applicationVariants.all { variant -> variant.outputs.all { outputFileName = "openrsc.apk" } } } dependencies { implementation 'com.android.support:support-v4:28.0.0' implementation 'com.android.support:coordinatorlayout:28.0.0' implementation 'android.arch.persistence.room:runtime:1.1.1' annotationProcessor 'android.arch.persistence.room:compiler:1.1.1' } task prepareKotlinBuildScriptModel { }