equal
deleted
inserted
replaced
1 import com.geekorum.build.configureJavaVersion |
|
2 |
|
3 plugins { |
1 plugins { |
4 id("com.android.library") |
2 id("com.android.library") |
5 kotlin("android") |
3 kotlin("android") |
6 id("com.geekorum.build.android-tests") |
4 id("com.geekorum.build.android-tests") |
7 id("com.geekorum.build.android-avdl") |
5 id("com.geekorum.build.android-avdl") |
14 namespace = "com.geekorum.geekdroid.firebase" |
12 namespace = "com.geekorum.geekdroid.firebase" |
15 |
13 |
16 defaultConfig { |
14 defaultConfig { |
17 minSdk = 24 |
15 minSdk = 24 |
18 } |
16 } |
19 configureJavaVersion() |
17 compileOptions { |
|
18 sourceCompatibility(JavaVersion.VERSION_11) |
|
19 targetCompatibility(JavaVersion.VERSION_11) |
|
20 } |
20 |
21 |
21 buildTypes { |
22 buildTypes { |
22 getByName("release") { |
23 getByName("release") { |
23 isMinifyEnabled = false |
24 isMinifyEnabled = false |
24 proguardFiles(getDefaultProguardFile("proguard-android.txt"), |
25 proguardFiles(getDefaultProguardFile("proguard-android.txt"), |
36 } |
37 } |
37 singleVariant("debug") { |
38 singleVariant("debug") { |
38 withSourcesJar() |
39 withSourcesJar() |
39 } |
40 } |
40 } |
41 } |
|
42 } |
41 |
43 |
|
44 kotlin { |
|
45 jvmToolchain(11) |
42 } |
46 } |
|
47 |
43 |
48 |
44 dependencies { |
49 dependencies { |
45 implementation(platform(kotlin("bom"))) |
50 implementation(platform(kotlin("bom"))) |
46 implementation(kotlin("stdlib-jdk8")) |
51 implementation(kotlin("stdlib-jdk8")) |
47 |
52 |