forked from bkdevops-projects/devops-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
35 lines (28 loc) · 832 Bytes
/
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
description = "Tencent BlueKing DevOps Framework Build"
plugins {
kotlin("jvm") version Versions.Kotlin apply false
kotlin("kapt") version Versions.Kotlin apply false
kotlin("plugin.spring") version Versions.Kotlin apply false
id("io.spring.dependency-management") version Versions.DependencyManagement apply false
id("io.github.gradle-nexus.publish-plugin") version Versions.GradleNexusPublish
}
allprojects {
group = Release.Group
version = Release.Version
repositories {
mavenCentral()
jcenter()
gradlePluginPortal()
}
}
nexusPublishing {
repositories {
sonatype {
username.set(System.getenv("SONATYPE_USERNAME"))
password.set(System.getenv("SONATYPE_PASSWORD"))
}
}
}
subprojects {
apply(plugin = "ktlint")
}