-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
75 lines (65 loc) · 2.12 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
73
74
75
plugins {
eclipse
idea
id(ZeroLibs.Plugins.oss) version ZeroLibs.Version.plugin
id(ZeroLibs.Plugins.root) version ZeroLibs.Version.plugin apply false
id(PluginLibs.jooq) version PluginLibs.Version.jooq apply false
id(PluginLibs.nexusStaging) version PluginLibs.Version.nexusStaging
}
apply(plugin = ZeroLibs.Plugins.root)
allprojects {
group = "io.github.zero88"
repositories {
mavenLocal()
maven { url = uri("https://oss.sonatype.org/content/groups/public/") }
mavenCentral()
jcenter()
}
}
subprojects {
apply(plugin = ZeroLibs.Plugins.oss)
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
javadoc {
options {
this as StandardJavadocDocletOptions
if (JavaVersion.current().isJava8Compatible) {
addBooleanOption("Xdoclint:none", true)
}
}
}
}
dependencies {
compileOnly(UtilLibs.jetbrainsAnnotations)
compileOnly(UtilLibs.lombok)
annotationProcessor(UtilLibs.lombok)
testImplementation(TestLibs.junit5Api)
testImplementation(TestLibs.junit5Engine)
testImplementation(TestLibs.junit5Vintage)
testCompileOnly(UtilLibs.lombok)
testAnnotationProcessor(UtilLibs.lombok)
}
qwe {
zero88.set(true)
publishingInfo {
enabled.set(true)
homepage.set("https://github.com/play-iot/iot-vpn")
license {
name.set("The Apache License, Version 2.0")
url.set("https://github.com/play-iot/iot-vpn/blob/master/LICENSE")
}
scm {
connection.set("scm:git:git://[email protected]:play-iot/iot-vpn.git")
developerConnection.set("scm:git:ssh://[email protected]:play-iot/iot-vpn.git")
url.set("https://github.com/play-iot/iot-vpn")
}
}
}
}
nexusStaging {
packageGroup = "io.github.zero88"
username = project.property("nexus.username") as String?
password = project.property("nexus.password") as String?
}