diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-06-16 20:46:59 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-06-16 20:46:59 +0300 |
commit | 7c55d94eeb42f851e5ee0664bb38a873b6c06ee1 (patch) | |
tree | 278a55feadb5f79dc3c806f8205d61981c8665d3 /runners/maven-plugin | |
parent | 6300b94ac84133dd3ec7e87752f133832d4b7642 (diff) | |
download | dokka-7c55d94eeb42f851e5ee0664bb38a873b6c06ee1.tar.gz dokka-7c55d94eeb42f851e5ee0664bb38a873b6c06ee1.tar.bz2 dokka-7c55d94eeb42f851e5ee0664bb38a873b6c06ee1.zip |
Update gradle to 4.0
Diffstat (limited to 'runners/maven-plugin')
-rw-r--r-- | runners/maven-plugin/build.gradle | 3 | ||||
-rw-r--r-- | runners/maven-plugin/pom.tpl.xml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/runners/maven-plugin/build.gradle b/runners/maven-plugin/build.gradle index 3f80ba4a..e1a3af1a 100644 --- a/runners/maven-plugin/build.gradle +++ b/runners/maven-plugin/build.gradle @@ -25,7 +25,7 @@ dependencies { shadow "org.apache.maven.plugin-tools:maven-plugin-annotations:$maven_plugin_tools_version" } -task generatePom << { +task ("generatePom") doLast { final pomTemplate = new File(projectDir, "pom.tpl.xml") final pom = new File(buildDir, "pom.xml") pom.text = pomTemplate.text.replace("<version>dokka_version</version>", "<version>$dokka_version</version>") @@ -43,7 +43,6 @@ task helpMojo(type: CrossPlatformExec) { commandLine mvn, '-e', '-B', 'org.apache.maven.plugins:maven-plugin-plugin:helpmojo' } - helpMojo.dependsOn generatePom sourceSets.main.java.srcDir("$buildDir/generated-sources/plugin") compileJava.dependsOn helpMojo diff --git a/runners/maven-plugin/pom.tpl.xml b/runners/maven-plugin/pom.tpl.xml index 3b5afd74..c5883c6a 100644 --- a/runners/maven-plugin/pom.tpl.xml +++ b/runners/maven-plugin/pom.tpl.xml @@ -21,6 +21,6 @@ </plugin> </plugins> <directory>./</directory> - <outputDirectory>classes/main</outputDirectory> + <outputDirectory>./classes/java/main</outputDirectory> </build> </project> |