diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2016-12-02 23:46:16 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2016-12-02 23:46:16 +0300 |
commit | 13bda7371cc60beaa4cc8302239efd21695b9e1f (patch) | |
tree | 1673a8ff05e3398a9826af09ece88f05fd4c56ae /runners/gradle-plugin/build.gradle | |
parent | 039bb97123fd8a74b9954598d7a102e235fd108d (diff) | |
download | dokka-13bda7371cc60beaa4cc8302239efd21695b9e1f.tar.gz dokka-13bda7371cc60beaa4cc8302239efd21695b9e1f.tar.bz2 dokka-13bda7371cc60beaa4cc8302239efd21695b9e1f.zip |
Now dokka-fatjar complete isolated from poisonous Gradle environment
Diffstat (limited to 'runners/gradle-plugin/build.gradle')
-rw-r--r-- | runners/gradle-plugin/build.gradle | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/runners/gradle-plugin/build.gradle b/runners/gradle-plugin/build.gradle index 3c330d18..8e6f11df 100644 --- a/runners/gradle-plugin/build.gradle +++ b/runners/gradle-plugin/build.gradle @@ -14,12 +14,13 @@ tasks.withType(AbstractCompile) { } dependencies { - - shadow project(':runners:fatjar') testCompile group: 'junit', name: 'junit', version: '4.12' - provided group: 'org.jetbrains.kotlin', name: 'kotlin-runtime', version: kotlin_version - provided group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_version + compile group: 'org.jetbrains.kotlin', name: 'kotlin-runtime', version: kotlin_version + compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_version + + compile project(":integration") + provided gradleApi() provided localGroovy() } @@ -28,11 +29,19 @@ task sourceJar(type: Jar) { from sourceSets.main.allSource } +processResources { + eachFile { + if (it.name == "org.jetbrains.dokka.properties") { + it.filter { line -> + line.replace("<version>", dokka_version) + } + } + } +} shadowJar { baseName = 'dokka-gradle-plugin' classifier = '' - relocate('kotlin.', 'dokkakotlin.') } apply plugin: 'maven-publish' |