New gradle syntax?
continuous-integration/drone/push Build is failing

This commit is contained in:
halfdan committed 2021-12-30 10:22:05 +01:00
1 parent a3654076d1
commit 57658b2cf8
1 file changed
+15 -15
+15 -15
View File
@@ -7,6 +7,21 @@ sourceCompatibility = 1.8
targetCompatibility = 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 //create a single Jar with all dependencies
task fatJar(type: Jar) { task fatJar(type: Jar) {
manifest { manifest {
@@ -31,21 +46,6 @@ dependencies {
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.+' 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 { modifyPom {
project { project {
name 'EvA2' name 'EvA2'