Skip to content

Instantly share code, notes, and snippets.

@karol-lotkowski

karol-lotkowski/build.gradle Secret

Created Oct 13, 2015
Embed
What would you like to do?
Gradle application plugin and Dropwizard execution
apply plugin: 'application'
sourceCompatibility = 1.8
project.ext {
configPath = "$rootProject.projectDir/config/"
dropwizardVersion = '0.8.2'
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'io.dropwizard', name: 'dropwizard-core', version: dropwizardVersion
}
mainClassName = "com.karollotkowski.cleancode.CleanCodeApplication"
run {
args 'server', configPath + 'app_config.yml'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment