Skip to content

Instantly share code, notes, and snippets.

@aesteve
Created April 3, 2015 16:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aesteve/5960b9f4ed9d074d36f8 to your computer and use it in GitHub Desktop.
Save aesteve/5960b9f4ed9d074d36f8 to your computer and use it in GitHub Desktop.
vertx-metrics-demo Gradle
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