Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bitfireAT/cert4android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicki Hirner <hirner@bitfire.at>2021-08-22 19:27:24 +0300
committerRicki Hirner <hirner@bitfire.at>2021-08-22 19:44:37 +0300
commit267f5952ca06a3956af8138a8b59b6a345548a4c (patch)
tree982b45a658bb7965b53a11aea509ca1397719b08
parentdf0f42539ee3119b001e50b914c6a83fb65d2747 (diff)
Kotlin lint
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--README.md2
-rw-r--r--build.gradle4
-rw-r--r--src/main/java/at/bitfire/cert4android/CertUtils.kt2
4 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3e1bc60..aca2875 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ test:
pages:
script:
- - ./gradlew dokka
+ - ./gradlew dokkaHtml
- mkdir public && mv build/dokka public
artifacts:
paths:
diff --git a/README.md b/README.md
index 7833b21..66e0a35 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ it in your own open-source app.
_This software is not affiliated to, nor has it been authorized, sponsored or otherwise approved
by Google LLC. Android is a trademark of Google LLC._
-Generated KDoc: https://bitfireat.gitlab.io/cert4android/dokka/cert4android/
+Generated KDoc: https://bitfireat.gitlab.io/cert4android/dokka/html/
Discussion: https://forums.bitfire.at/category/18/libraries
diff --git a/build.gradle b/build.gradle
index f0244d4..7bad72f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -52,13 +52,13 @@ android {
}
// TODO currently doesn't work with dokka 1.5.0, but dokka 0.10.1 doesn't work with new gradle
- dokka.configuration {
+ /*dokka.configuration {
sourceLink {
url = "https://gitlab.com/bitfireAT/cert4android/tree/master/"
lineSuffix = "#L"
}
jdkVersion = 7
- }
+ }*/
}
dependencies {
diff --git a/src/main/java/at/bitfire/cert4android/CertUtils.kt b/src/main/java/at/bitfire/cert4android/CertUtils.kt
index 35b7e01..af774e0 100644
--- a/src/main/java/at/bitfire/cert4android/CertUtils.kt
+++ b/src/main/java/at/bitfire/cert4android/CertUtils.kt
@@ -49,7 +49,7 @@ object CertUtils {
for ((idx, b) in data.withIndex()) {
if (idx != 0)
str.append(':')
- str.append(String.format("%02x", b).toUpperCase())
+ str.append(String.format("%02x", b).uppercase(Locale.ROOT))
}
return str.toString()
}