-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
41 lines (35 loc) · 1.03 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
import java.net.URI
buildscript {
repositories {
maven(url = "https://artifactory.e-spirit.hosting/artifactory/repo") {
credentials {
username = extra.properties["artifactory_hosting_username"] as String
password = extra.properties["artifactory_hosting_password"] as String
}
}
}
}
plugins {
id("java-library")
id("maven-publish")
}
allprojects {
apply(plugin = "java-library")
apply(plugin = "maven-publish")
group = "to.be.renamed"
}
subprojects {
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
options.release.set(17)
}
repositories {
maven(url = "https://artifactory.e-spirit.hosting/artifactory/repo") {
credentials {
username = extra.properties["artifactory_hosting_username"] as String
password = extra.properties["artifactory_hosting_password"] as String
}
}
}
}
tasks.findByName("publish")?.dependsOn("my-workflow-fsm:publish")