add Maven Central repository

This commit is contained in:
Jörg Prante 2017-01-12 13:14:12 +01:00
parent 7b18b6740e
commit 6f6dd8ae08

View file

@ -46,8 +46,9 @@ sourceSets {
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
}
configurations {
wagon
@ -64,7 +65,6 @@ dependencies {
exclude group: 'org.elasticsearch.plugin', module: 'percolator-client'
exclude group: 'org.elasticsearch.plugin', module: 'lang-mustache-client'
}
compile "io.netty:netty-transport-native-epoll:4.1.6.Final"
compile "io.netty:netty-transport-native-epoll:4.1.6.Final:linux-x86_64"
compile "org.apache.logging.log4j:log4j-api:2.7"
testCompile "junit:junit:4.12"
@ -72,6 +72,9 @@ dependencies {
wagon 'org.apache.maven.wagon:wagon-ssh-external:2.10'
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:all" << "-profile" << "compact3"