Skip to content

Commit 9a5db4a

Browse files
imanushinoshai
authored andcommitted
Use version var in gradle file. Upgrade gradle version to 4.0 (#23)
1 parent 8ace582 commit 9a5db4a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ bintray {
5151
licenses = ['Apache-2.0']
5252
vcsUrl = 'https://github.com/MicroUtils/kotlin-logging'
5353
version {
54-
name = "1.4.5"
55-
desc = "kotlin-logging 1.4.5 - Lightweight logging framework for Kotlin"
54+
name = version
55+
desc = "kotlin-logging $version - Lightweight logging framework for Kotlin"
5656
released = new Date()
5757
}
5858
}
@@ -113,13 +113,13 @@ publishing {
113113
MyPublication(MavenPublication) {
114114
pom.withXml {
115115
def root = asNode()
116-
root.appendNode('description', "kotlin-logging 1.4.5 - Lightweight logging framework for Kotlin")
116+
root.appendNode('description', "kotlin-logging $version - Lightweight logging framework for Kotlin")
117117
root.children().last() + pomConfig
118118
}
119119
from components.java
120120
groupId 'io.github.microutils'
121121
artifactId 'kotlin-logging'
122-
version "1.4.5"
122+
version version
123123

124124
artifact sourcesJar
125125
artifact javadocJar

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip
77
kotlin.incremental=true

0 commit comments

Comments
 (0)