mirror of
				https://github.com/PlaceholderAPI/PlaceholderAPI
				synced 2025-10-30 18:03:43 +01:00 
			
		
		
		
	Attach sources and javadoc jar when deploying
This commit is contained in:
		
							
								
								
									
										11
									
								
								build.gradle
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								build.gradle
									
									
									
									
									
								
							| @@ -37,11 +37,16 @@ processResources { | |||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| tasks.withType(JavaCompile) { | java { | ||||||
|     options.encoding = "UTF-8" |  | ||||||
|  |  | ||||||
|     sourceCompatibility = JavaVersion.VERSION_1_8 |     sourceCompatibility = JavaVersion.VERSION_1_8 | ||||||
|     targetCompatibility = JavaVersion.VERSION_1_8 |     targetCompatibility = JavaVersion.VERSION_1_8 | ||||||
|  |  | ||||||
|  |     withJavadocJar() | ||||||
|  |     withSourcesJar() | ||||||
|  | } | ||||||
|  |  | ||||||
|  | tasks.withType(JavaCompile) { | ||||||
|  |     options.encoding = "UTF-8" | ||||||
| } | } | ||||||
|  |  | ||||||
| shadowJar { | shadowJar { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user