Last active
August 29, 2015 14:22
-
-
Save admiral0/31bc22e5cc7228e9110f to your computer and use it in GitHub Desktop.
Kotlin + Vert.x 3
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
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:0.12.213' | |
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.1' | |
} | |
} | |
apply plugin: 'kotlin' | |
apply plugin: 'com.github.johnrengelman.shadow' | |
version = '1.0-SNAPSHOT' | |
def mainClass = '' //Change this to an implementation of AbstractVerticle | |
repositories { | |
jcenter() | |
} | |
shadowJar { | |
classifier = 'fat' | |
manifest { | |
attributes 'Main-Class': 'io.vertx.core.Starter' | |
attributes 'Main-Verticle': mainClass | |
} | |
mergeServiceFiles { | |
include 'META-INF/services/io.vertx.core.spi.VerticleFactory' | |
} | |
} | |
dependencies { | |
compile 'com.google.guava:guava:18.0' | |
compile 'org.jetbrains.kotlin:kotlin-stdlib:0.12.213' | |
compile 'io.vertx:vertx-core:3.0.0-milestone6' | |
testCompile 'junit:junit:4.11' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment