Switch to Gradle Kotlin DSL #103
@ -63,41 +63,33 @@ tasks {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 | 
			||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	java {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		// if it is present.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		// If you remove this line, sources will not be generated.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		withSourcesJar()
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
	}
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
	jar {
 | 
			
		||||
		from("LICENSE") {
 | 
			
		||||
			rename { "${it}_${archives_base_name}" }
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
 | 
			
		||||
/*
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
// configure the maven publication
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
publishing {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
	publications {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		mavenJava(MavenPublication) {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			// add all the jars that should be included when publishing to maven
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			artifact(remapJar) {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
				dependsOn(remapJar)
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			}
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			artifact(sourcesJar) {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
				dependsOn(remapSourcesJar)
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
	val sourcesJar by creating(Jar::class) {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		dependsOn(JavaPlugin.CLASSES_TASK_NAME)
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		archiveClassifier.convention("sources")
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		from(sourceSets["main"].allSource)
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
	}
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
	publishing {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		publications {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			create<MavenPublication>("maven") {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
				// add all the jars that should be included when publishing to maven
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
				artifact(remapJar.get())
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
				artifact(sourcesJar)
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
 | 
			
		||||
	// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
	repositories {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		// Add repositories to publish to here.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		// Notice: This block does NOT have the same function as the block in the top level.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		// The repositories here will be used for publishing your artifact, not for
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		// retrieving dependencies.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		repositories {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			// Add repositories to publish to here.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			// Notice: This block does NOT have the same function as the block in the top level.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			// The repositories here will be used for publishing your artifact, not for
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
			// retrieving dependencies.
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
		}
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
	}
 | 
			
		||||
}
 | 
			
		||||
 */
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		use the built-in literal  
			
			use the built-in literal `\`maven-publish\``
```suggestion
	`maven-publish`
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
			this.expand("version" to project.version)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		
			
			```suggestion
		dependsOn(classes)
``` 
			
			
		 | 
			||||
use the built-in literal
\maven-publish``use the built-in literal
\maven-publish``