Last active
December 14, 2017 12:10
-
-
Save usmansaleem/e723f25b827e0a925eaef2957a80132d to your computer and use it in GitHub Desktop.
Gradle build file for vertx-net-client project
This file contains hidden or 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
| plugins { | |
| id 'io.vertx.vertx-plugin' version "0.0.6" | |
| id "org.jetbrains.kotlin.jvm" version "1.2.10" | |
| } | |
| repositories { | |
| jcenter() | |
| } | |
| dependencies { | |
| compile 'io.vertx:vertx-lang-kotlin' | |
| //kotlin dependencies | |
| compile "org.jetbrains.kotlin:kotlin-stdlib-jre8" | |
| //slf4j/logback logging | |
| compile "ch.qos.logback:logback-classic:1.2.3" | |
| //test dependencies | |
| testCompile "org.jetbrains.kotlin:kotlin-test" | |
| testCompile "org.jetbrains.kotlin:kotlin-test-junit" | |
| } | |
| //by default Kotlin targets 1.6 | |
| tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { | |
| kotlinOptions { | |
| jvmTarget = "1.8" | |
| } | |
| } | |
| vertx { | |
| mainVerticle = "info.usmans.blog.vertx.NetClientVerticle" | |
| } | |
| //override generated jar name without version | |
| shadowJar { | |
| baseName = 'vertx-net-client' | |
| version = null | |
| } | |
| task wrapper(type: Wrapper) { | |
| gradleVersion = '4.2' | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment