-
Notifications
You must be signed in to change notification settings - Fork 21
/
build.gradle.kts
43 lines (38 loc) · 1010 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
32
33
34
35
36
37
38
39
40
41
42
43
buildscript {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.4.2")
val kotlinVersion = "1.9.24"
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath ("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion")
}
}
allprojects {
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
}
plugins {
id("org.jetbrains.kotlinx.kover") version "0.5.0"
id("signing")
id("maven-publish")
}
subprojects {
plugins.apply("signing")
plugins.apply("maven-publish")
signing {
useInMemoryPgpKeys(
System.getenv("GPG_PRIVATE_KEY"),
System.getenv("GPG_PRIVATE_PASSWORD")
)
}
}