Created
December 22, 2017 06:53
-
-
Save StefMa/0f020dd6adbeddc27fd2510e45d12949 to your computer and use it in GitHub Desktop.
Kotlin DSL example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.novoda.gradle.release.PublishExtension | |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath("com.novoda:bintray-release:0.8.0") | |
} | |
} | |
apply { | |
plugin("java") | |
plugin("com.novoda.bintray-release") | |
} | |
configure<PublishExtension> { | |
userOrg = "stefma" | |
groupId = "guru.stefma" | |
artifactId = "kotlin-dsl-example" | |
publishVersion = "0.0.1" | |
desc = "Great example abou Kotlin-DSL :tada:" | |
website = "https://medium.com/@StefMa" | |
} | |
task("Hi") { | |
doLast { | |
println("Hello World") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment