Commit 05949d35 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Remove javadoc

parent 645af933
......@@ -6,5 +6,5 @@ before_script:
test-build-deploy:
stage: test
script:
- ./gradlew clean assembleRelease sourcesJar javadocJar test --stacktrace
- ./gradlew clean assembleRelease sourcesJar test --stacktrace
- ./gradlew publish --stacktrace
\ No newline at end of file
......@@ -46,7 +46,6 @@ buildscript {
dependencies {
classpath "com.android.tools.build:gradle:$ANDROID_GRADLE_PLUGIN_VERSION"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.4.32"
}
}
......
......@@ -81,16 +81,6 @@ task sourcesJar(type: Jar) {
classifier = 'sources'
}
task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
outputFormat = 'javadoc'
outputDirectory = "$buildDir/javadoc"
}
task javadocJar(type: Jar, dependsOn: dokkaJavadoc) {
classifier = 'javadoc'
from "$buildDir/javadoc"
}
afterEvaluate {
publishing {
publications {
......@@ -103,9 +93,6 @@ afterEvaluate {
artifact (sourcesJar) {
classifier = 'sources'
}
artifact (javadocJar) {
classifier = 'javadoc'
}
pom.withXml {
def dependenciesNode = asNode().appendNode('dependencies')
......@@ -132,4 +119,4 @@ afterEvaluate {
}
}
}
publish.dependsOn("assembleRelease", "sourcesJar", "javadocJar")
\ No newline at end of file
publish.dependsOn("assembleRelease", "sourcesJar")
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment