diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 428ac512..48fe8824 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -49,8 +49,7 @@ jobs: - name: Run ktlint run: | cd android - ./gradlew lintKotlin --continue - ./gradlew :build-logic:convention:lint --continue + ./gradlew lint lintKotlin :build-logic:convention:lint --continue detekt: name: Detekt diff --git a/README.md b/README.md index 91e99497..a1b6e565 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,6 @@ [Android library details and usage notes are here.](/android/README.md). -[API documentation is here.](https://guardian.github.io/source-apps/android/docs/index.html). - # iOS Usage ## Adding the Swift Package To Xcode diff --git a/android/README.md b/android/README.md index f1457397..4bbd5e6a 100644 --- a/android/README.md +++ b/android/README.md @@ -7,12 +7,23 @@ ## Add the library dependency -Add the dependency to `build.gradle.kts` for the consuming module: +Add the dependency to `build.gradle.kts` for the consuming module. + +In `build.gradle.kts`: ```kotlin implementation("com.gu.source:source-android:") ``` +In version catalog: +```toml +[versions] +source = "" + +[libraries] +source = { module = "com.gu.source:source-android", version.ref = "source" } +``` +