-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (32 loc) · 852 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
buildscript {
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlin.get()}"
classpath "com.ncorti.ktfmt.gradle:plugin:0.7.0"
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.3'
}
}
apply plugin: 'com.palantir.git-version'
version gitVersion()
allprojects {
group 'me.roitgrund'
version rootProject.version
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'kotlin'
apply plugin: 'com.ncorti.ktfmt.gradle'
dependencyLocking {
lockAllConfigurations()
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "17"
}
}
}