-
Notifications
You must be signed in to change notification settings - Fork 327
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (47 loc) · 1.5 KB
/
build.gradle
File metadata and controls
52 lines (47 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.naviagation) apply false
alias(libs.plugins.google.services) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.doka) apply false
}
apply from: 'tools.gradle'
apply from: 'integration-test.gradle'
apply from: 'ext_settings.gradle'
allprojects {
tasks.withType(JavaCompile).configureEach {
options.compilerArgs << "-Xlint:deprecation,unchecked"
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType(KotlinCompile).configureEach {
// kotlinOptions.jvmTarget = "17"
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
freeCompilerArgs.add("-java-parameters")
}
}
}
subprojects {
plugins.withId("org.jetbrains.kotlin.jvm") {
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
}
}
def props = new Properties()
try {
//this allows having a drive with the keys to be mounted for releases, only.
props.load(new FileInputStream("keys.properties"))
} catch (Exception ignore) {
}
props.each {
key, val -> extensions."$key" = val
}