-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (30 loc) · 768 Bytes
/
build.gradle
File metadata and controls
33 lines (30 loc) · 768 Bytes
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
buildscript {
repositories {
mavenLocal()
google()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.19.0'
}
}
allprojects {
repositories {
google()
mavenCentral()
}
plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
plugins.withId("com.vanniktech.maven.publish.base") {
version = System.getenv('RELEASE_VERSION') ?: "0.0.0-SNAPSHOT"
println("CURRENT VER: $version")
mavenPublishing {
signAllPublications()
pomFromGradleProperties()
}
}
}