forked from bkdevops-projects/devops-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
41 lines (33 loc) · 1.01 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
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
id("com.tencent.devops.release") version Versions.DevopsReleasePlugin
}
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")
}
release {
scmUrl.set("scm:git:https://github.com/bkdevops-projects/devops-framework.git")
incrementPolicy.set("PATCH")
}