Switch to Gradle Kotlin DSL #103
@ -70,7 +70,7 @@ tasks {
|
||||
|
||||
}
|
||||
|
||||
val sourcesJar by creating(Jar::class) {
|
||||
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)
```
|
||||
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)
```
|
||||
archiveClassifier.convention("sources")
|
||||
from(sourceSets["main"].allSource)
|
||||
}
|
||||
|
||||
![]() 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)
```
|
Loading…
Reference in New Issue
Block a user
use the built-in literal
\
maven-publish``use the built-in literal
\
maven-publish``