-
Notifications
You must be signed in to change notification settings - Fork 29
/
build.gradle
33 lines (28 loc) · 1007 Bytes
/
build.gradle
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
buildscript {
ext {
kotlin_version = "1.9.20"
ksp_version = "1.9.20-1.0.14"
}
}
plugins {
id("org.jetbrains.kotlin.jvm") version "1.9.20" apply false
id("org.jetbrains.dokka") version "1.7.10" apply false
id("com.github.gmazzo.buildconfig") version "2.1.0" apply false
id("com.vanniktech.maven.publish") version "0.25.2" apply false
id("com.bennyhuo.kotlin.plugin.embeddable") version "1.8.0.0" apply false
id("com.bennyhuo.kotlin.plugin.embeddable.test") version "1.8.0.0" apply false
}
subprojects { project ->
if(!project.hasProperty("shouldPublish") || project.property("shouldPublish") == "true") {
group = GROUP
version = VERSION_NAME
project.apply plugin: "com.vanniktech.maven.publish"
}
project.pluginManager.withPlugin("java") {
project.sourceCompatibility = 1.8
}
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}