Commit 05326d92 authored by Ricki Hirner's avatar Ricki Hirner

Dokka KDoc; build tools

parent 11cdaae4
Pipeline #13829751 passed with stages
in 2 minutes and 38 seconds
...@@ -2,7 +2,6 @@ image: registry.gitlab.com/bitfireat/davdroid:latest ...@@ -2,7 +2,6 @@ image: registry.gitlab.com/bitfireat/davdroid:latest
before_script: before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle; chmod +x gradlew - export GRADLE_USER_HOME=`pwd`/.gradle; chmod +x gradlew
- (cd /sdk/emulator; ./emulator @test -no-audio -no-window & wait-for-emulator.sh)
cache: cache:
paths: paths:
...@@ -10,8 +9,19 @@ cache: ...@@ -10,8 +9,19 @@ cache:
test: test:
script: script:
- ./gradlew -i check connectedCheck - (cd /sdk/emulator; ./emulator @test -no-audio -no-window & wait-for-emulator.sh)
- ./gradlew check connectedCheck
artifacts: artifacts:
paths: paths:
- build/outputs/lint-results-debug.html - build/outputs/lint-results-debug.html
- build/reports/ - build/reports/
pages:
script:
- ./gradlew dokka
- mkdir public && mv build/dokka public
artifacts:
paths:
- public
only:
- master
...@@ -5,12 +5,14 @@ ...@@ -5,12 +5,14 @@
# dav4android # dav4android
dav4android is an Android WebDAV/CalDAV/CardDAV library which has dav4android is an Android WebDAV/CalDAV/CardDAV library which has
primarily been developed for [DAVdroid](https://davdroid.bitfire.at). primarily been developed for [DAVdroid](https://www.davdroid.com).
It's not intended as a general WebDAV framework for all kinds of It's not intended as a general WebDAV framework for all kinds of
applications, but you may find it useful to fork and adapt it applications, but you may find it useful to fork and adapt it
to your needs. to your needs.
Generated KDoc: https://bitfireAT.gitlab.io/dav4android/dokka/dav4android/
## License ## License
......
buildscript { buildscript {
ext.kotlin_version = '1.1.51' ext.kotlin_version = '1.1.51'
ext.dokka_version = '0.9.15'
repositories { repositories {
jcenter() jcenter()
...@@ -12,6 +13,7 @@ buildscript { ...@@ -12,6 +13,7 @@ buildscript {
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.0' classpath 'com.android.tools.build:gradle:3.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:${dokka_version}"
} }
} }
...@@ -24,10 +26,11 @@ repositories { ...@@ -24,10 +26,11 @@ repositories {
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply plugin: 'org.jetbrains.dokka-android'
android { android {
compileSdkVersion 27 compileSdkVersion 27
buildToolsVersion '27.0.0' buildToolsVersion '27.0.1'
defaultConfig { defaultConfig {
minSdkVersion 14 minSdkVersion 14
......
Markdown is supported
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