Skip to content

Commit

Permalink
I give up on this new plugin API in Gradle. It never fucking works.
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed May 30, 2018
1 parent b6d3403 commit 31bf1e2
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 18 deletions.
19 changes: 15 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
plugins {
id "org.jetbrains.dokka" version "0.9.17"
id "nebula.release" version "6.3.3"
buildscript {
repositories {
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.netflix.nebula:nebula-kotlin-plugin:1.2.41"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.16"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.7.3"
classpath "com.netflix.nebula:nebula-release-plugin:6.3.3"
classpath "com.netflix.nebula:nebula-publishing-plugin:7.1.0"
classpath "com.netflix.nebula:nebula-bintray-plugin:3.5.2"
}
}

allprojects {
apply plugin: "nebula.release"
group = "io.strikt"
}

Expand All @@ -13,4 +24,4 @@ subprojects {
}
}

apply from: "$rootDir/gradle/site.gradle"
apply from: "$rootDir/gradle/site.gradle"
2 changes: 2 additions & 0 deletions gradle/kotlin.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
apply plugin: "nebula.kotlin"

compileKotlin {
kotlinOptions {
languageVersion = "1.2"
Expand Down
7 changes: 7 additions & 0 deletions gradle/published.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
apply plugin: "com.jfrog.artifactory"
apply plugin: "nebula.maven-publish"
apply plugin: "nebula.javadoc-jar"
apply plugin: "nebula.source-jar"
apply plugin: "nebula.nebula-bintray"
apply plugin: "org.jetbrains.dokka"

dokka {
outputFormat = "html"
outputDirectory = "$buildDir/javadoc"
Expand Down
2 changes: 2 additions & 0 deletions gradle/site.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
apply plugin: "org.jetbrains.dokka"

dokka {
outputFormat = "html"
jdkVersion = 8
Expand Down
4 changes: 0 additions & 4 deletions samples/samples.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
plugins {
id "nebula.kotlin" version "1.2.41"
}

apply from: "$rootDir/gradle/kotlin.gradle"
apply from: "$rootDir/gradle/junit.gradle"

Expand Down
10 changes: 0 additions & 10 deletions strikt-core/strikt-core.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
plugins {
id "nebula.kotlin" version "1.2.41"
id "com.jfrog.artifactory" version "4.7.3"
id "nebula.maven-publish" version "7.1.0"
id "nebula.javadoc-jar" version "7.1.0"
id "nebula.source-jar" version "7.1.0"
id "nebula.nebula-bintray" version "3.5.2"
id "org.jetbrains.dokka" //version "0.9.17"
}

apply from: "$rootDir/gradle/kotlin.gradle"
apply from: "$rootDir/gradle/spek.gradle"
apply from: "$rootDir/gradle/published.gradle"
Expand Down

0 comments on commit 31bf1e2

Please sign in to comment.