me.proton.core:country

Proton Core libraries for Android


License
GPL-3.0

Documentation

Usage

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.

Setup Detekt

In order to use the all-in-one Detekt configuration, you have to:

  1. 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")
  2. 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

Last versions

Plugins

Detekt: 0.3 - released on: Aug 06, 2021

Kotlin: 0.1 - released on: Oct 09, 2020

Tests: 0.1 - released on: Oct 09, 2020

Common

Utils

Util Android Shared Preferences: 0.2.3 - released on: Dec 18, 2020

Util Android Work Manager: 0.2.2 - released on: Dec 18, 2020

Util Kotlin: 0.2.6 - released on: Aug 26, 2021

Test

Test Kotlin: 0.2.1 - released on: Apr 05, 2021

Test Android: 0.6 - released on: Jul 01, 2021

Test Android Instrumented: 0.6.7 - released on: Aug 31, 2021

Shared

Domain: 1.0.4 - released on: Jul 07, 2021

Presentation: 1.5.5 - released on: Aug 27, 2021

Data: 1.3.1 - released on: Jul 22, 2021

Data Room: 1.3.1 - released on: Jul 22, 2021

Support

Network

Network: 1.5.4 - released on: Aug 19, 2021

Network Domain: 1.5.4 - released on: Aug 19, 2021

Network Data: 1.5.4 - released on: Aug 19, 2021

Crypto

Crypto: 1.6.1 - released on: Aug 26, 2021

Crypto Common: 1.6.1 - released on: Aug 26, 2021

Crypto Android: 1.6.1 - released on: Aug 26, 2021

Features

Auth

Auth: 1.6.1 - released on: Aug 25, 2021

Auth Domain: 1.6.1 - released on: Aug 25, 2021

Auth Presentation: 1.6.1 - released on: Aug 25, 2021

Auth Data: 1.6.1 - released on: Aug 25, 2021

Account

Account: 1.5.2 - released on: Aug 16, 2021

Account Domain: 1.5.2 - released on: Aug 16, 2021

Account Presentation: 0 - released on: ND

Account Data: 1.5.2 - released on: Aug 16, 2021

Account Manager

Account Manager: 1.6 - released on: Aug 21, 2021

Account Manager Domain: 1.6 - released on: Aug 21, 2021

Account Manager Presentation: 1.6 - released on: Aug 21, 2021

Account Manager Data: 1.6 - released on: Aug 21, 2021

Account Manager Data Db: 1.6 - released on: Aug 21, 2021

Account Manager Dagger: 1.6 - released on: Aug 21, 2021

Key

Key: 1.6.1 - released on: Aug 26, 2021

Key Domain: 1.6.1 - released on: Aug 26, 2021

Key Data: 1.6.1 - released on: Aug 26, 2021

User

User: 1.6 - released on: Aug 21, 2021

User Domain: 1.6 - released on: Aug 21, 2021

User Data: 1.6 - released on: Aug 21, 2021

Contact

Contact: 0.1.5 - released on: Jun 14, 2021

Contact Domain: 0.1.5 - released on: Jun 14, 2021

Contact Data: 0.1.5 - released on: Jun 14, 2021

Mail Message

Mail Message: 1.6.1 - released on: Aug 26, 2021

Mail Message Domain: 1.6.1 - released on: Aug 26, 2021

Mail Message Data: 1.6.1 - released on: Aug 26, 2021

Mail Settings

Mail Settings: 1.3.2 - released on: Jul 28, 2021

Mail Settings Domain: 1.3.2 - released on: Jul 28, 2021

Mail Settings Data: 1.3.2 - released on: Jul 28, 2021

Human Verification

Human Verification: 1.5.2 - released on: Aug 16, 2021

Human Verification Domain: 1.5.2 - released on: Aug 16, 2021

Human Verification Presentation: 1.5.2 - released on: Aug 16, 2021

Human Verification Data: 1.5.2 - released on: Aug 16, 2021

Countries

Country: 0.1.6 - released on: Aug 05, 2021

Country Domain: 0.1.6 - released on: Aug 05, 2021

Country Data: 0.1.6 - released on: Aug 05, 2021

Country Presentation: 0.1.6 - released on: Aug 05, 2021

Payment

Payment: 0.2.4 - released on: Aug 20, 2021

Payment Data: 0.2.4 - released on: Aug 20, 2021

Payment Domain: 0.2.4 - released on: Aug 20, 2021

Payment Presentation: 0.2.4 - released on: Aug 20, 2021

Plan

Plan: 1.5.2 - released on: Aug 16, 2021

Plan Data: 1.5.2 - released on: Aug 16, 2021

Plan Domain: 1.5.2 - released on: Aug 16, 2021

Plan Presentation: 1.5.2 - released on: Aug 16, 2021

User Settings

User Settings: 1.6 - released on: Aug 21, 2021

User Settings Data: 1.6 - released on: Aug 21, 2021

User Settings Domain: 1.6 - released on: Aug 21, 2021

User Settings Presentation: 1.6 - released on: Aug 21, 2021