This commit is contained in:
		
							
								
								
									
										30
									
								
								build.gradle
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								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' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user