Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ed3b2fc authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Dokka documentation

parent 0d1f40b4
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@ image: registry.gitlab.com/bitfireat/davdroid:latest

before_script:
  - export GRADLE_USER_HOME=`pwd`/.gradle; chmod +x gradlew
  - (cd /sdk/emulator; ./emulator @test -no-audio -no-window & wait-for-emulator.sh)

cache:
  paths:
@@ -10,8 +9,19 @@ cache:

test:
  script:
    - (cd /sdk/emulator; ./emulator @test -no-audio -no-window & wait-for-emulator.sh)
    - ./gradlew check connectedCheck
  artifacts:
    paths:
      - build/outputs/lint-results-debug.html
      - build/reports/

pages:
  script:
    - ./gradlew dokka
    - mkdir public && mv build/dokka public
  artifacts:
    paths:
      - public
  only:
    - master
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@ cert4android is an Android library for managing custom certificates which has
been developed for [DAVdroid](https://davdroid.bitfire.at). Feel free to use
it in your own open-source app.

Generated KDoc: https://bitfireat.gitlab.io/cert4android/dokka/cert4android/

Discussion: https://forums.bitfire.at/category/7/transport-level-security


+3 −0
Original line number Diff line number Diff line

buildscript {
    ext.kotlin_version = '1.1.51'
    ext.dokka_version = '0.9.15'

    repositories {
        jcenter()
@@ -12,6 +13,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}"
    }
}

@@ -24,6 +26,7 @@ repositories {

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

android {
    compileSdkVersion 27
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,10 @@ import javax.net.ssl.X509TrustManager
 * trustworthiness. The IPC with a service is required when multiple processes,
 * each of them with an own [CustomCertManager], want to access a synchronized central
 * certificate trust store + UI (for accepting certificates etc.).
 *
 * @param interactive true: users will be notified in case of unknown certificates;
 *                    false: unknown certificates will be rejected (only uses custom certificate key store)
*  @param trustSystemCerts whether system certificates will be trusted
 */
class CustomCertManager @JvmOverloads constructor(
        val context: Context,