-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
54 lines (47 loc) · 1.61 KB
/
build.gradle.kts
File metadata and controls
54 lines (47 loc) · 1.61 KB
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
plugins {
eclipse
idea
id(PlayioPlugin.oss) version PlayioPlugin.Version.gradlePlugin
id(PlayioPlugin.root) version PlayioPlugin.Version.gradlePlugin
id(PlayioPlugin.antora) version PlayioPlugin.Version.gradlePlugin apply false
id(PlayioPlugin.pandoc) version PlayioPlugin.Version.gradlePlugin apply false
id(PlayioPlugin.codegen) version PlayioPlugin.Version.gradlePlugin apply false
id(PlayioPlugin.docgen) version PlayioPlugin.Version.gradlePlugin apply false
}
project.ext.set("baseName", (gradle as ExtensionAware).extensions["BASE_NAME"] as String)
allprojects {
group = project.ext.get("projectGroup") as String
repositories {
mavenLocal()
maven { url = uri("https://maven-central-asia.storage-download.googleapis.com/maven2/") }
maven { url = uri("https://oss.sonatype.org/content/groups/public/") }
mavenCentral()
}
val skipPublish = (gradle as ExtensionAware).extensions["SKIP_PUBLISH"] as Array<*>
sonarqube {
isSkipProject = project.path in skipPublish
}
tasks {
withType<AbstractPublishToMaven> {
enabled = project != rootProject && project.path !in skipPublish
}
}
}
subprojects {
apply(plugin = PlayioPlugin.oss)
dependencies {
testImplementation(TestLibs.junit5Api)
testImplementation(TestLibs.junit5Engine)
testImplementation(TestLibs.junit5Vintage)
}
oss {
zero88.set(true)
github.set(true)
publishing {
homepage.set("<some_where>")
}
testLogger {
slowThreshold = 5000
}
}
}