Go to file
Jorge Martin 9582624601 event-manager: Add onSuccess and onFailure callbacks to EventListener 2021-11-22 09:10:19 +00:00
.idea Update detekt config path 2021-11-02 10:59:45 +01:00
account KeyStoreCrypto fallback if Android KeyStore is not properly working. 2021-09-21 16:25:03 +02:00
account-manager Bump versions for libraries that use `presentation` module 2021-11-16 16:10:58 +01:00
auth Auth Version and Changelog 2021-11-15 19:01:22 +01:00
config
contact Added EventManagerConfig parameter to all EventListener functions. 2021-11-18 13:35:50 +01:00
coreexample Bump versions for libraries that use `presentation` module 2021-11-16 16:10:58 +01:00
country Bump versions for libraries that use `presentation` module 2021-11-16 16:10:58 +01:00
crypto Fixed Crypto & Key module versions and Plugins Publish issues. 2021-10-28 18:40:21 +02:00
data Bump all libraries version to 1.15.0 2021-09-10 17:44:59 +02:00
data-room Implement local data source 2021-10-01 18:39:22 +02:00
domain Added EventManager Domain/Data and Event Listeners. 2021-10-25 12:47:04 +02:00
event-manager event-manager: Add onSuccess and onFailure callbacks to EventListener 2021-11-22 09:10:19 +00:00
gopenpgp Fix gopenpgp/version.txt for version typo 2021-10-08 08:16:15 +00:00
gradle Move all gradle plugin to plugins folder 2021-10-27 09:29:15 +00:00
human-verification Bump versions for libraries that use `presentation` module 2021-11-16 16:10:58 +01:00
key Make SignedKeyList.data and signature nullable. 2021-11-08 12:44:52 +01:00
lint
mail-message Bump version for mail-message to fix a `NoSuchMethodError` crash 2021-11-10 11:42:50 +01:00
mail-settings Added EventManagerConfig parameter to all EventListener functions. 2021-11-18 13:35:50 +01:00
network Bump versions 2021-10-12 10:13:16 +02:00
payment Bump versions for libraries that use `presentation` module 2021-11-16 16:10:58 +01:00
plan Fix broken plan translations 2021-11-17 09:49:18 +01:00
plugins Ensure sources are set for published artifacts 2021-11-16 14:00:15 +01:00
presentation Bump auth and presentation modules version 2021-11-05 12:14:16 +01:00
test Fix OnView.checkDoesNotExist() 2021-11-09 15:52:57 +01:00
user Added EventManagerConfig parameter to all EventListener functions. 2021-11-18 13:35:50 +01:00
user-settings Added EventManagerConfig parameter to all EventListener functions. 2021-11-18 13:35:50 +01:00
util Move all gradle plugin to plugins folder 2021-10-27 09:29:15 +00:00
.gitignore
.gitlab-ci.yml Add Danger-Cobertura 2021-11-19 10:03:57 +01:00
.java-version
CHANGELOG.md event-manager: Add onSuccess and onFailure callbacks to EventListener 2021-11-22 09:10:19 +00:00
Dangerfile Add Danger-Cobertura 2021-11-19 10:03:57 +01:00
Gemfile Add Danger-Cobertura 2021-11-19 10:03:57 +01:00
Gemfile.lock Add Danger-Cobertura 2021-11-19 10:03:57 +01:00
README.md [release] Contact 1.19.1 2021-11-18 14:02:05 +00:00
build.gradle.kts Get code coverage reporting on MRs in GitLab for all Core projects 2021-11-10 09:43:45 +01:00
gradle.properties
gradlew Update library versions and gradle wrapper 2021-09-10 15:11:39 +02:00
gradlew.bat Update library versions and gradle wrapper 2021-09-10 15:11:39 +02:00
settings.gradle.kts Start to group project side dependencies 2021-09-10 15:11:40 +02:00

README.md

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.4 - released on: Sep 13, 2021

Jacoco: 0.1 - released on: Nvo 10, 2021

Kotlin: 0.1 - released on: Oct 09, 2020

Tests: 0.1 - released on: Oct 09, 2020

Common

Utils

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

Test Kotlin: 1.15 - released on: Sep 13, 2021

Test Android: 1.15.1 - released on: Oct 08, 2021

Test Android Instrumented: 1.15.5 - released on: Nov 09, 2021

Shared

Domain: 1.18 - released on: Oct 25, 2021

Presentation: 1.18.3 - released on: Nov 05, 2021

Data: 1.15 - released on: Sep 13, 2021

Data Room: 1.16 - released on: Oct 04, 2021

Support

Network

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

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

Features

Auth

Auth: 1.18.3 - released on: Nov 15, 2021

Auth Domain: 1.18.3 - released on: Nov 15, 2021

Auth Presentation: 1.18.3 - released on: Nov 15, 2021

Auth Data: 1.18.3 - released on: Nov 15, 2021

Account

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

Account Manager: 1.16.2 - released on: Nov 16, 2021

Account Manager Domain: 1.16.2 - released on: Nov 16, 2021

Account Manager Presentation: 1.16.2 - released on: Nov 16, 2021

Account Manager Data: 1.16.2 - released on: Nov 16, 2021

Account Manager Data Db: 1.16.2 - released on: Nov 16, 2021

Account Manager Dagger: 1.16.2 - released on: Nov 16, 2021

Event Manager

Event Manager: 1.19.1 - released on: Nov 18, 2021

Event Manager Domain: 1.19.1 - released on: Nov 18, 2021

Event Manager Data: 1.19.1 - released on: Nov 18, 2021

Key

Key: 1.16.1 - released on: Nov 08, 2021

Key Domain: 1.16.1 - released on: Nov 08, 2021

Key Data: 1.16.1 - released on: Nov 08, 2021

User

User: 1.19.1 - released on: Nov 18, 2021

User Domain: 1.19.1 - released on: Nov 18, 2021

User Data: 1.19.1 - released on: Nov 18, 2021

User Settings

User Settings: 1.19.1 - released on: Nov 18, 2021

User Settings Data: 1.19.1 - released on: Nov 18, 2021

User Settings Domain: 1.19.1 - released on: Nov 18, 2021

User Settings Presentation: 1.19.1 - released on: Nov 18, 2021

Contact

Contact: 1.19.1 - released on: Nov 18, 2021

Contact Domain: 1.19.1 - released on: Nov 18, 2021

Contact Data: 1.19.1 - released on: Nov 18, 2021

Contact Hilt: 1.19.1 - released on: Nov 18, 2021

Mail Message

Mail Message: 1.15.1 - released on: Nov 10, 2021

Mail Message Domain: 1.15.1 - released on: Nov 10, 2021

Mail Message Data: 1.15.1 - released on: Nov 10, 2021

Mail Settings

Mail Settings: 1.19.1 - released on: Nov 18, 2021

Mail Settings Domain: 1.19.1 - released on: Nov 18, 2021

Mail Settings Data: 1.19.1 - released on: Nov 18, 2021

Human Verification

Human Verification: 1.16.3 - released on: Nov 16, 2021

Human Verification Domain: 1.16.3 - released on: Nov 16, 2021

Human Verification Presentation: 1.16.3 - released on: Nov 16, 2021

Human Verification Data: 1.16.3 - released on: Nov 16, 2021

Countries

Country: 1.16.2 - released on: Nov 16, 2021

Country Domain: 1.16.2 - released on: Nov 16, 2021

Country Data: 1.16.2 - released on: Nov 16, 2021

Country Presentation: 1.16.2 - released on: Nov 16, 2021

Payment

Payment: 1.17.3 - released on: Nov 16, 2021

Payment Data: 1.17.3 - released on: Nov 16, 2021

Payment Domain: 1.17.3 - released on: Nov 16, 2021

Payment Presentation: 1.17.3 - released on: Nov 16, 2021

Plan

Plan: 1.18.2 - released on: Nov 17, 2021

Plan Data: 1.18.2 - released on: Nov 17, 2021

Plan Domain: 1.18.2 - released on: Nov 17, 2021

Plan Presentation: 1.18.2 - released on: Nov 17, 2021