-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
55 lines (43 loc) · 1.46 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import groovy.lang.Closure
plugins {
kotlin("jvm") version "1.3.11"
java
`build-scan`
id("com.palantir.git-version") version "0.12.0-rc2"
}
val kampVersion: String by extra { "1.0.0-rc9" }
val gitVersion: Closure<String> by extra
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
allprojects {
version = gitVersion()
group = "ch.leadrian.samp.kamp"
repositories {
mavenCentral()
mavenLocal()
}
}
subprojects {
apply(plugin = "kotlin")
apply(plugin = "java")
tasks {
compileKotlin {
sourceCompatibility = "1.8"
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjvm-default=compatibility")
}
}
}
dependencies {
implementation(group = "ch.leadrian.samp.kamp", name = "kamp-core", version = kampVersion)
implementation(group = "org.jetbrains.kotlin", name = "kotlin-stdlib-jdk8", version = "1.3.11")
implementation(group = "com.netflix.governator", name = "governator", version = "1.17.5")
implementation(group = "com.google.inject", name = "guice", version = "4.2.2")
implementation(group = "javax.inject", name = "javax.inject", version = "1")
implementation(group = "org.slf4j", name = "slf4j-api", version = "1.7.25")
implementation(group = "org.slf4j", name = "slf4j-log4j12", version = "1.7.25")
}
}