diff --git a/build.gradle b/build.gradle index ba1f71c..9e3e4ed 100644 --- a/build.gradle +++ b/build.gradle @@ -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"