-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (27 loc) · 839 Bytes
/
build.gradle
File metadata and controls
34 lines (27 loc) · 839 Bytes
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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.6.21"
}
ext {
def correctVersion = project.hasProperty('versionNumber') && property('versionNumber') ==~ /\d+\.\d+\.\d+.*/
versionNumber = correctVersion ? property('versionNumber') : 'SNAPSHOT-' + new Date().format('yyyyMMddHHmmss')
projectIds = ['group': 'teamcity-google-agent', 'version': versionNumber]
teamcityVersion = findProperty('teamcityVersion') ?: '2024.12'
}
group = projectIds.group
version = projectIds.version
repositories {
mavenCentral()
}
allprojects {
group = projectIds.group
version = projectIds.version
}
subprojects {
apply plugin: "kotlin"
test.useTestNG()
jar.version = null
compileKotlin {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}