-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
72 lines (63 loc) · 2.09 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
plugins {
id(QWELibs.Plugins.oss) version QWELibs.Version.plugin
id(QWELibs.Plugins.root) version QWELibs.Version.plugin apply false
id(PluginLibs.nexusStaging) version PluginLibs.Version.nexusStaging
}
allprojects {
group = "io.github.zero88.qwe"
repositories {
mavenLocal()
maven { url = uri("https://oss.sonatype.org/content/groups/public/") }
maven { url = uri("https://maven.pkg.github.com/zero88/java-utils") }
mavenCentral()
jcenter()
}
}
apply(plugin = QWELibs.Plugins.root)
subprojects {
apply(plugin = "eclipse")
apply(plugin = "idea")
apply(plugin = QWELibs.Plugins.oss)
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
compileOnly(UtilLibs.lombok)
annotationProcessor(UtilLibs.lombok)
testImplementation(TestLibs.junit5Api)
testImplementation(TestLibs.junit5Engine)
testImplementation(TestLibs.junit5Vintage)
testImplementation(TestLibs.jsonAssert)
testCompileOnly(UtilLibs.lombok)
testAnnotationProcessor(UtilLibs.lombok)
}
tasks {
javadoc {
options {
this as StandardJavadocDocletOptions
this.addBooleanOption("Xdoclint:none", true)
}
}
}
qwe {
zero88.set(true)
publishingInfo {
enabled.set(true)
homepage.set("https://github.com/zero88/qwe")
license {
name.set("The Apache License, Version 2.0")
url.set("https://github.com/play-iot/qwe-scheduler/blob/master/LICENSE")
}
scm {
connection.set("scm:git:git://[email protected]:play-iot/qwe-scheduler.git")
developerConnection.set("scm:git:ssh://[email protected]:play-iot/qwe-scheduler.git")
url.set("https://github.com/play-iot/qwe-scheduler")
}
}
}
}
nexusStaging {
packageGroup = "io.github.zero88"
username = project.property("nexus.username") as String?
password = project.property("nexus.password") as String?
}