Switch to Gradle Kotlin DSL #103
@ -63,32 +63,24 @@ 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)
``` 
			
			
		 | 
			||||
	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)
``` 
			
			
		 | 
			||||
// 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 {
 | 
			
		||||
		publications {
 | 
			
		||||
		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)
``` 
			
			
		 | 
			||||
			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
 | 
			
		||||
			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)
``` 
			
			
		 | 
			||||
			}
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 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)
``` 
			
			
		 | 
			||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
@ -100,4 +92,4 @@ publishing {
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 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)
``` 
			
			
		 | 
			||||
			// 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`
``` 
			
			
		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``