Unify build output with Maven
* Added manifest properties to `gradle-tools` projects. * Add `-kotlin-module` to free compiler args to make the module names match the ones in Maven build * Fixed path to the Groovy sources in `kotlin-gradle-plugin/pom.xml`
This commit is contained in:
@@ -29,6 +29,14 @@ subprojects {
|
|||||||
task javadocJar(type: Jar) {
|
task javadocJar(type: Jar) {
|
||||||
classifier = 'javadoc'
|
classifier = 'javadoc'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
afterEvaluate {
|
||||||
|
jar {
|
||||||
|
manifestAttributes(manifest, project)
|
||||||
|
}
|
||||||
|
|
||||||
|
compileKotlin.kotlinOptions.freeCompilerArgs += ["-module-name", "${project.name}"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task clean {
|
task clean {
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<sources>
|
<sources>
|
||||||
<fileset>
|
<fileset>
|
||||||
<directory>${project.basedir}/src/main/kotlin</directory>
|
<directory>${project.basedir}/src/main/groovy</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*.groovy</include>
|
<include>**/*.groovy</include>
|
||||||
</includes>
|
</includes>
|
||||||
|
|||||||
Reference in New Issue
Block a user