Add the desired library as following
implementation("me.proton.core:<name-of-the-lib>:<version>")
where <name-of-the-lib>
reflect the one listed below, on lowercase, with -
instead of spaces
Util Android Shared Preferences: **0.1**
can be resolved as me.proton.core:util-android-share-preferences:0.1
Where there are all or some of domain
, data
, presentation
, they can be imported together with the parent module.
implementation("~:network-domain:~")
implementation("~:network-data:~")
or
implementation("~:network:~")
while the first one is suitable for multi-module projects, the latter is the suggested solution for monolithic clients.
In order to use the all-in-one Detekt configuration, you have to:
-
Setup Plugin in your root gradle file Kotlin Gradle DSL:
plugins { id("me.proton.detekt") version protonDetektVersion }
Regular Groovy script:
buildscript { dependencies { classpath("me.proton:detekt:$protonDetektVersion") } } apply(plugin = "me.proton.detekt")
-
Setup the following stage in your
.gitlab-ci
stages: - analyze # - others ... ##################### detekt analysis: stage: analyze tags: - android script: - ./gradlew multiModuleDetekt artifacts: reports: codequality: config/detekt/reports/mergedReport.json
Detekt: 0.4 - released on: Sep 13, 2021
Kotlin: 0.1 - released on: Oct 09, 2020
Tests: 0.1 - released on: Oct 09, 2020
Util Android Shared Preferences: 1.15 - released on: Sep 13, 2021
Util Android Work Manager: 1.15 - released on: Sep 13, 2021
Util Kotlin: 1.15.2 - released on: Sep 23, 2021
Test Kotlin: 1.15 - released on: Sep 13, 2021
Test Android: 1.15.1 - released on: Oct 08, 2021
Test Android Instrumented: 1.15.2 - released on: Oct 26, 2021
Domain: 1.18 - released on: Oct 25, 2021
Presentation: 1.18.1 - released on: Oct 29, 2021
Data: 1.15 - released on: Sep 13, 2021
Data Room: 1.16 - released on: Oct 04, 2021
Network: 1.15.7 - released on: Oct 12, 2021
Network Domain: 1.15.7 - released on: Oct 12, 2021
Network Data: 1.15.7 - released on: Oct 12, 2021
Crypto: 1.16 - released on: Oct 28, 2021
Crypto Common: 1.16 - released on: Oct 28, 2021
Crypto Android: 1.16 - released on: Oct 28, 2021
Auth: 1.17.5 - released on: Oct 28, 2021
Auth Domain: 1.17.5 - released on: Oct 28, 2021
Auth Presentation: 1.17.5 - released on: Oct 28, 2021
Auth Data: 1.17.5 - released on: Oct 28, 2021
Account: 1.15.2 - released on: Sep 23, 2021
Account Domain: 1.15.2 - released on: Sep 23, 2021
Account Presentation: 0 - released on: ND
Account Data: 1.15.2 - released on: Sep 23, 2021
Account Manager: 1.16.1 - released on: Oct 29, 2021
Account Manager Domain: 1.16.1 - released on: Oct 29, 2021
Account Manager Presentation: 1.16.1 - released on: Oct 29, 2021
Account Manager Data: 1.16.1 - released on: Oct 29, 2021
Account Manager Data Db: 1.16.1 - released on: Oct 29, 2021
Account Manager Dagger: 1.16.1 - released on: Oct 29, 2021
Event Manager: 1.18 - released on: Oct 25, 2021
Event Manager Domain: 1.18 - released on: Oct 25, 2021
Event Manager Data: 1.18 - released on: Oct 25, 2021
Key: 1.16 - released on: Oct 28, 2021
Key Domain: 1.16 - released on: Oct 28, 2021
Key Data: 1.16 - released on: Oct 28, 2021
User: 1.18 - released on: Oct 25, 2021
User Domain: 1.18 - released on: Oct 25, 2021
User Data: 1.18 - released on: Oct 25, 2021
User Settings: 1.18.1 - released on: Oct 28, 2021
User Settings Data: 1.18.1 - released on: Oct 28, 2021
User Settings Domain: 1.18.1 - released on: Oct 28, 2021
User Settings Presentation: 1.18.1 - released on: Oct 28, 2021
Contact: 1.18 - released on: Oct 25, 2021
Contact Domain: 1.18 - released on: Oct 25, 2021
Contact Data: 1.18 - released on: Oct 25, 2021
Contact Hilt: 1.18 - released on: Oct 25, 2021
Mail Message: 1.15 - released on: Sep 13, 2021
Mail Message Domain: 1.15 - released on: Sep 13, 2021
Mail Message Data: 1.15 - released on: Sep 13, 2021
Mail Settings: 1.18 - released on: Oct 25, 2021
Mail Settings Domain: 1.18 - released on: Oct 25, 2021
Mail Settings Data: 1.18 - released on: Oct 25, 2021
Human Verification: 1.16.2 - released on: Oct 29, 2021
Human Verification Domain: 1.16.2 - released on: Oct 29, 2021
Human Verification Presentation: 1.16.2 - released on: Oct 29, 2021
Human Verification Data: 1.16.2 - released on: Oct 29, 2021
Country: 1.16.1 - released on: Oct 29, 2021
Country Domain: 1.16.1 - released on: Oct 29, 2021
Country Data: 1.16.1 - released on: Oct 29, 2021
Country Presentation: 1.16.1 - released on: Oct 29, 2021
Payment: 1.17.2 - released on: Oct 26, 2021
Payment Data: 1.17.2 - released on: Oct 26, 2021
Payment Domain: 1.17.2 - released on: Oct 26, 2021
Payment Presentation: 1.17.2 - released on: Oct 26, 2021
Plan: 1.17 - released on: Oct 19, 2021
Plan Data: 1.17 - released on: Oct 19, 2021
Plan Domain: 1.17 - released on: Oct 19, 2021
Plan Presentation: 1.17 - released on: Oct 19, 2021