-
Notifications
You must be signed in to change notification settings - Fork 388
/
Copy pathbuild.gradle.kts
31 lines (27 loc) · 938 Bytes
/
build.gradle.kts
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
apply(plugin = "io.github.gradle-nexus.publish-plugin")
apply(from = "${rootDir}/publish/publish-root.gradle")
buildscript {
repositories {
maven("https://plugins.gradle.org/m2/")
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.6.1")
classpath("io.github.gradle-nexus:publish-plugin:1.1.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24")
classpath("org.jacoco:org.jacoco.core:0.8.12")
}
}
allprojects {
group = "com.salesforce.mobilesdk"
version = "13.0.0"
// Ensure that we do not use newer language features that would make the SDK incompatible with
// apps that do not target the latest version of Kotlin.
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().all {
kotlinOptions {
apiVersion = "1.6"
languageVersion = "1.6"
}
}
}