Created
April 3, 2015 16:41
-
-
Save aesteve/5960b9f4ed9d074d36f8 to your computer and use it in GitHub Desktop.
vertx-metrics-demo Gradle
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
plugins { | |
id 'java' | |
id 'eclipse' | |
id 'idea' | |
id 'com.github.johnrengelman.shadow' version '1.2.1' | |
} | |
repositories { | |
mavenLocal() | |
mavenCentral() | |
maven { url 'http://oss.sonatype.org/content/repositories/snapshots/' } | |
} | |
dependencies { | |
compile 'io.vertx:vertx-lang-js:3.0.0-SNAPSHOT' | |
compile 'io.vertx:vertx-dropwizard-metrics:3.0.0-SNAPSHOT' | |
compile 'io.vertx:vertx-hazelcast:3.0.0-SNAPSHOT' | |
compile 'io.vertx:vertx-maven-service-factory:3.0.0-SNAPSHOT' | |
compile 'io.vertx:vertx-sigar:3.0.0-SNAPSHOT' | |
} | |
shadowJar { | |
classifier = '' | |
manifest { | |
attributes 'Main-Class': 'io.vertx.core.Starter' | |
attributes 'Main-Verticle': 'javascript:monitor.js' | |
} | |
mergeServiceFiles { | |
include 'META-INF/services/io.vertx.core.spi.VerticleFactory' | |
} | |
dependencies { | |
exclude(dependency('io.vertx:codegen')) | |
exclude(dependency('junit:junit')) | |
exclude(dependency('org.mvel:mvel2')) | |
} | |
} | |
task wrapper(type: Wrapper) { | |
gradleVersion = '2.3' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment