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:
Sergey Igushkin
2017-05-06 01:17:08 +03:00
parent 7030b89b7c
commit 7097246866
2 changed files with 9 additions and 1 deletions
@@ -29,6 +29,14 @@ subprojects {
task javadocJar(type: Jar) {
classifier = 'javadoc'
}
afterEvaluate {
jar {
manifestAttributes(manifest, project)
}
compileKotlin.kotlinOptions.freeCompilerArgs += ["-module-name", "${project.name}"]
}
}
task clean {
+1 -1
View File
@@ -149,7 +149,7 @@
<configuration>
<sources>
<fileset>
<directory>${project.basedir}/src/main/kotlin</directory>
<directory>${project.basedir}/src/main/groovy</directory>
<includes>
<include>**/*.groovy</include>
</includes>