Pārlūkot izejas kodu

Clean up build.gradle

Lortseam 4 gadi atpakaļ
vecāks
revīzija
aa53fed025
1 mainītis faili ar 0 papildinājumiem un 9 dzēšanām
  1. 0 9
      build.gradle

+ 0 - 9
build.gradle

@@ -36,14 +36,12 @@ tasks.withType(JavaCompile).configureEach {
 	// ensure that the encoding is set to UTF-8, no matter what the system default is
 	// this fixes some edge cases with special characters not displaying correctly
 	// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
-	// If Javadoc is generated, this must be specified in that task too.
 	it.options.encoding = "UTF-8"
 }
 
 java {
 	// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
 	// if it is present.
-	// If you remove this line, sources will not be generated.
 	withSourcesJar()
 }
 
@@ -78,7 +76,6 @@ build.dependsOn javadocJar
 publishing {
 	publications {
 		mavenJava(MavenPublication) {
-			// add all the jars that should be included when publishing to maven
 			artifact(remapJar) {
 				builtBy remapJar
 			}
@@ -88,10 +85,4 @@ publishing {
 			artifact javadocJar
 		}
 	}
-
-	// select the repositories you want to publish to
-	repositories {
-		// uncomment to publish to the local maven
-		// mavenLocal()
-	}
 }