Skip to content

Commit

Permalink
Removed dokka, added android-maven-publish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
markusgursch-aaa committed Jun 14, 2019
1 parent 3727e8e commit 99e867d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0-beta03'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.17"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.18"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
20 changes: 16 additions & 4 deletions inappupdater/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
plugins {
id "com.jfrog.bintray" version "1.7.3"
id "com.github.dcendents.android-maven" version "2.1"
id 'digital.wup.android-maven-publish' version '3.6.2'
}
apply plugin: 'org.jetbrains.dokka-android'


group = 'at.allaboutapps.inappupdater'
version = '0.9.6'

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'org.jetbrains.dokka-android'

android {
compileSdkVersion 28

Expand Down Expand Up @@ -56,16 +58,23 @@ bintray {
configurations = ['archives']
}

publishing {
publications {
mavenAar(MavenPublication) {
from components.android
}
}
}
//task javadoc(type: Javadoc) {
// excludes = ['**/*.kt'] // Exclude all kotlin files from javadoc file.
//}
//

//dokka {
// outputFormat = 'javadoc'
// outputDirectory = javadoc.destinationDir
//}

//task generateJavadocsJar(type: Jar, dependsOn: dokka) {
//destinationDirtask generateJavadocsJar(type: Jar, dependsOn: dokka) {
// classifier = 'javadoc'
// from dokka.outputDirectory
//}
Expand Down Expand Up @@ -105,3 +114,6 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

}


apply plugin: 'digital.wup.android-maven-publish'

0 comments on commit 99e867d

Please sign in to comment.