forked from proxer/ProxerLibJava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (40 loc) · 793 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
34
35
36
37
38
39
40
41
42
43
44
45
46
buildscript {
apply from: "gradle/versions.gradle"
}
plugins {
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.kotlin.kapt"
id "org.jetbrains.dokka"
id "com.github.ben-manes.versions"
}
allprojects {
version = rootProject.ext.version
group = rootProject.ext.group
repositories {
mavenCentral()
}
}
tasks.named("dependencyUpdates").configure {
rejectVersionIf {
!(it.candidate.version ==~ /^[0-9,.v-]+(-r)?$/)
}
}
wrapper {
gradleVersion = project.ext.gradleVersion
}
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
}
}