diff --git a/build.gradle b/build.gradle index 6173d73e..17f47388 100644 --- a/build.gradle +++ b/build.gradle @@ -7,6 +7,21 @@ sourceCompatibility = 1.8 targetCompatibility = 1.8 +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1' + } +} + +plugins { + id 'java' + id 'maven-publish' + id 'com.bmuschko.nexus' +} + //create a single Jar with all dependencies task fatJar(type: Jar) { manifest { @@ -31,21 +46,6 @@ dependencies { testCompile group: 'org.mockito', name: 'mockito-core', version: '1.+' } -buildscript { - repositories { - jcenter() - } - dependencies { - classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1' - } -} - -plugins { - id 'java' - id 'maven-publish' - id 'com.bmuschko.nexus' -} - modifyPom { project { name 'EvA2'