-
-
Notifications
You must be signed in to change notification settings - Fork 170
/
build.gradle.kts
40 lines (32 loc) · 1.06 KB
/
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
java
kotlin("jvm") version Versions.KOTLIN apply false
kotlin("plugin.serialization") version Versions.KOTLIN
id("io.github.turansky.kfc.latest-webpack") version "8.10.0" apply false
}
allprojects {
group = "net.perfectdreams.loritta"
version = Versions.LORITTA
repositories {
mavenCentral()
mavenLocal()
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
maven("https://repo.perfectdreams.net/")
maven("https://jitpack.io")
// Used by JDA
maven("https://m2.dv8tion.net/releases")
}
}
subprojects {
tasks.withType<KotlinCompile> {
kotlinOptions.javaParameters = true
}
}
// Gradle Build Scan
// https://stackoverflow.com/a/56634703/7271796
extensions.findByName("buildScan")?.withGroovyBuilder {
setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service")
setProperty("termsOfServiceAgree", "yes")
}