This commit is contained in:
parent
a3654076d1
commit
57658b2cf8
30
build.gradle
30
build.gradle
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user