Skip to content

Commit

Permalink
Use version var in gradle file. Upgrade gradle version to 4.0 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
imanushin authored and oshai committed Jun 20, 2017
1 parent 8ace582 commit 9a5db4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ bintray {
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/MicroUtils/kotlin-logging'
version {
name = "1.4.5"
desc = "kotlin-logging 1.4.5 - Lightweight logging framework for Kotlin"
name = version
desc = "kotlin-logging $version - Lightweight logging framework for Kotlin"
released = new Date()
}
}
Expand Down Expand Up @@ -113,13 +113,13 @@ publishing {
MyPublication(MavenPublication) {
pom.withXml {
def root = asNode()
root.appendNode('description', "kotlin-logging 1.4.5 - Lightweight logging framework for Kotlin")
root.appendNode('description', "kotlin-logging $version - Lightweight logging framework for Kotlin")
root.children().last() + pomConfig
}
from components.java
groupId 'io.github.microutils'
artifactId 'kotlin-logging'
version "1.4.5"
version version

artifact sourcesJar
artifact javadocJar
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip
kotlin.incremental=true

0 comments on commit 9a5db4a

Please sign in to comment.