blob: 876092aa3323b9fd2f6d7b2fb0c873b4ba854133 [file] [log] [blame]
cjybyjkb69ee3c2020-08-17 19:50:04 +08001apply plugin: 'com.android.application'
2
3android {
4 compileSdkVersion 29
5 buildToolsVersion "29.0.3"
6
7 defaultConfig {
8 applicationId "org.exthmui.game"
9 minSdkVersion 29
10 targetSdkVersion 29
11 versionCode 1
12 versionName "1.0"
13
14 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
15 }
16
17 buildTypes {
18 release {
19 minifyEnabled false
20 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
21 }
22 }
23 compileOptions {
24 sourceCompatibility JavaVersion.VERSION_1_8
25 targetCompatibility JavaVersion.VERSION_1_8
26 }
cjybyjk0fb953c2021-07-07 22:10:11 +080027 sourceSets {
28 main {
29 aidl.srcDirs = ['src/main/java']
30 }
31 }
cjybyjkb69ee3c2020-08-17 19:50:04 +080032}
33
34dependencies {
35 compileOnly fileTree(dir: 'system_libs/', include: ['*.jar'])
36
37 implementation fileTree(dir: "libs", include: ["*.jar"])
38
39 implementation 'androidx.appcompat:appcompat:1.2.0'
40 implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
41 implementation 'androidx.preference:preference:1.1.1'
42 implementation 'com.google.android.material:material:1.1.0'
43 implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
44 testImplementation 'junit:junit:4.12'
45 androidTestImplementation 'androidx.test.ext:junit:1.1.1'
46 androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
47
48}
49
50allprojects{
51 gradle.projectsEvaluated {
52 tasks.withType(JavaCompile) {
53 options.compilerArgs.add('-Xbootclasspath/p:app/system_libs/framework.jar')
54 }
55 }
56}