Dokka KDoc

This commit is contained in:
Ricki Hirner
2017-11-11 20:49:20 +01:00
parent d0e0b5d9e6
commit 173d744c2e
4 changed files with 21 additions and 5 deletions

View File

@@ -3,18 +3,29 @@ image: registry.gitlab.com/bitfireat/davdroid:latest
before_script:
- git submodule update --init --recursive
- export GRADLE_USER_HOME=`pwd`/.gradle; chmod +x gradlew
- (cd /sdk/emulator; ./emulator @test -no-audio -no-window & wait-for-emulator.sh)
- wget -q https://f-droid.org/repo/org.dmfs.tasks_481.apk && adb install org.dmfs.tasks_481.apk
cache:
paths:
- .gradle/
- apk/
test:
script:
- (cd /sdk/emulator; ./emulator @test -no-audio -no-window & wait-for-emulator.sh)
- (mkdir -p apk && cd apk && wget -q https://f-droid.org/repo/org.dmfs.tasks_481.apk && adb install org.dmfs.tasks_481.apk)
- ./gradlew check mergeAndroidReports
artifacts:
paths:
- app/build/outputs/lint-results-debug.html
- app/build/reports
- build/reports
pages:
script:
- ./gradlew app:dokka
- mkdir public && mv app/build/dokka public
artifacts:
paths:
- public
only:
- master-ose

View File

@@ -1,5 +1,5 @@
[![build status](https://gitlab.com/bitfireAT/davdroid/badges/master/build.svg)](https://gitlab.com/bitfireAT/davdroid/commits/master)
[![build status](https://gitlab.com/bitfireAT/davdroid/badges/master-ose/build.svg)](https://gitlab.com/bitfireAT/davdroid/commits/master-ose)
DAVdroid
@@ -14,8 +14,10 @@ News and updates: [@davdroidapp](https://twitter.com/davdroidapp) on Twitter
Help and discussion: [DAVdroid forums](https://www.davdroid.com/forums/)
**If you want to support DAVdroid, please consider [donating to DAVdroid](https://davdroid.bitfire.at/donate/)
or [purchasing it](https://davdroid.bitfire.at/download/).**
**If you want to support DAVdroid, please consider [donating to DAVdroid](https://www.davdroid.com/donate/)
or [purchasing it](https://www.davdroid.com/download/).**
Generated KDoc: https://bitfireAT.gitlab.io/davdroid/dokka/app/
Parts of DAVdroid have been outsourced into these libraries:

View File

@@ -9,6 +9,7 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'org.jetbrains.dokka-android'
android {
compileSdkVersion 27

View File

@@ -8,6 +8,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.dokka_version = '0.9.15'
ext.kotlin_version = '1.1.51'
repositories {
@@ -19,6 +20,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:${dokka_version}"
}
}