Downgrade dokka
Version 0.9.15 is producing an error on CI: - Could not find org.jetbrains.dokka:integration:0.9.15.
This commit is contained in:
parent
c198328059
commit
7b5ffefa8f
14
build.gradle
14
build.gradle
@ -18,6 +18,7 @@ plugins {
|
||||
apply plugin: 'kotlin-platform-common'
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'net.researchgate.release'
|
||||
apply plugin: 'org.jetbrains.dokka'
|
||||
|
||||
description = 'A Result monad for modelling success or failure operations.'
|
||||
|
||||
@ -31,6 +32,18 @@ dependencies {
|
||||
testCompile "org.jetbrains.kotlin:kotlin-test-common:$kotlinVersion"
|
||||
}
|
||||
|
||||
dokka {
|
||||
outputFormat = 'javadoc'
|
||||
outputDirectory = "$buildDir/docs"
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar, dependsOn: dokka) {
|
||||
group = LifecycleBasePlugin.BUILD_GROUP
|
||||
description = 'Assembles a jar archive containing the Javadoc API documentation.'
|
||||
classifier = 'javadoc'
|
||||
from dokka.outputDirectory
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar) {
|
||||
group = LifecycleBasePlugin.BUILD_GROUP
|
||||
description = 'Assembles a jar archive containing the main classes with sources.'
|
||||
@ -41,6 +54,7 @@ task sourcesJar(type: Jar) {
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
artifact javadocJar
|
||||
artifact sourcesJar
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
group=com.github.michaelbull.kotlin-result
|
||||
version=1.0.3-SNAPSHOT
|
||||
|
||||
dokkaVersion=0.9.15
|
||||
dokkaVersion=0.9.14
|
||||
gradleReleaseVersion=2.6.0
|
||||
hamkrestVersion=1.4.2.0
|
||||
junitVersion=4.12
|
||||
|
@ -1,5 +1,4 @@
|
||||
apply plugin: 'kotlin-platform-jvm'
|
||||
apply plugin: 'org.jetbrains.dokka'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -13,23 +12,10 @@ dependencies {
|
||||
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlinVersion"
|
||||
}
|
||||
|
||||
dokka {
|
||||
outputFormat = 'javadoc'
|
||||
outputDirectory = "$buildDir/docs"
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar, dependsOn: dokka) {
|
||||
group = LifecycleBasePlugin.BUILD_GROUP
|
||||
description = 'Assembles a jar archive containing the Javadoc API documentation.'
|
||||
classifier = 'javadoc'
|
||||
from dokka.outputDirectory
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
from components.java
|
||||
artifact javadocJar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user