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 {
 | 
						jar {
 | 
				
			||||||
		from("LICENSE") {
 | 
							from("LICENSE") {
 | 
				
			||||||
			rename { "${it}_${archives_base_name}" }
 | 
								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)
``` 
			
			
		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
 | 
							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)
``` 
			
			
		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 {
 | 
							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)
``` 
			
			
		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 {
 | 
							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)
``` 
			
			
		 | 
					|||||||
		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)
``` 
			
			
		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)
``` 
			
			
		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) {
 | 
						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)
``` 
			
			
		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)
 | 
							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)
``` 
			
			
		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)
``` 
			
			
		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) {
 | 
									// 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)
``` 
			
			
		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)
 | 
									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)
``` 
			
			
		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.
 | 
							// 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)
``` 
			
			
		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 {
 | 
							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)
``` 
			
			
		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.
 | 
								// 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)
``` 
			
			
		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.
 | 
								// 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)
``` 
			
			
		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
 | 
								// 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)
``` 
			
			
		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.
 | 
								// 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`
``` 
			
			
		
			
			```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``