You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Dino Kadrikj 0a6e4dd666 Merge branch 'chore/apiconnection' into 'master' 11 months ago
.idea Update detekt config path 11 months ago
account
account-manager Bump versions for libraries that use `presentation` module 11 months ago
auth Bump previous release to retrigger release 11 months ago
config
contact Bump previous release to retrigger release 11 months ago
coreexample For coreexample we do not want to support by default the api connection fallback, so the provider is set to null. 11 months ago
country Bump versions for libraries that use `presentation` module 11 months ago
crypto Fixed Crypto & Key module versions and Plugins Publish issues. 11 months ago
data
data-room
domain
event-manager event-manager: Add onSuccess and onFailure callbacks to EventListener 11 months ago
gopenpgp
gradle
human-verification Links in Help page navigate to incorrect pages 11 months ago
key Make SignedKeyList.data and signature nullable. 11 months ago
lint
mail-message Bump version for mail-message to fix a `NoSuchMethodError` crash 11 months ago
mail-settings Added EventManagerConfig parameter to all EventListener functions. 11 months ago
network Rename ServerConnectionListener.kt to ApiConnectionListener.kt, 11 months ago
payment Bump previous release to retrigger release 11 months ago
plan Provide plans for signup and upgrade flow separately 11 months ago
plugins Ensure sources are set for published artifacts 11 months ago
presentation Bump auth and presentation modules version 11 months ago
test Relax async test timing 11 months ago
user Added EventManagerConfig parameter to all EventListener functions. 11 months ago
user-settings Added EventManagerConfig parameter to all EventListener functions. 11 months ago
util Don't trigger CI when pushing updated release commit 11 months ago
.gitignore
.gitlab-ci.yml Use larger runner 11 months ago
.java-version
CHANGELOG.md Links in Help page navigate to incorrect pages 11 months ago
Dangerfile Add Danger-Cobertura 11 months ago
Gemfile Add Danger-Cobertura 11 months ago
Gemfile.lock Add Danger-Cobertura 11 months ago
README.md [release] Human Verification Data 1.16.4 11 months ago
build.gradle.kts Get code coverage reporting on MRs in GitLab for all Core projects 11 months ago
gradle.properties Try to use less memory and still using // gradle workers 11 months ago
gradlew
gradlew.bat
settings.gradle.kts

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.4 - released on: Nov 22, 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.16 - released on: Nov 22, 2021

Network Domain: 1.16 - released on: Nov 22, 2021

Network Data: 1.16 - released on: Nov 22, 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.5 - released on: Nov 22, 2021

Auth Domain: 1.18.5 - released on: Nov 22, 2021

Auth Presentation: 1.18.5 - released on: Nov 22, 2021

Auth Data: 1.18.5 - released on: Nov 22, 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.2 - released on: Nov 22, 2021

Event Manager Domain: 1.19.2 - released on: Nov 22, 2021

Event Manager Data: 1.19.2 - released on: Nov 22, 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.3 - released on: Nov 22, 2021

Contact Domain: 1.19.3 - released on: Nov 22, 2021

Contact Data: 1.19.3 - released on: Nov 22, 2021

Contact Hilt: 1.19.3 - released on: Nov 22, 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.4 - released on: Nov 24, 2021

Human Verification Domain: 1.16.4 - released on: Nov 24, 2021

Human Verification Presentation: 1.16.4 - released on: Nov 24, 2021

Human Verification Data: 1.16.4 - released on: Nov 24, 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.5 - released on: Nov 22, 2021

Payment Data: 1.17.5 - released on: Nov 22, 2021

Payment Domain: 1.17.5 - released on: Nov 22, 2021

Payment Presentation: 1.17.5 - released on: Nov 22, 2021

Plan

Plan: 1.18.3 - released on: Nov 23, 2021

Plan Data: 1.18.3 - released on: Nov 23, 2021

Plan Domain: 1.18.3 - released on: Nov 23, 2021

Plan Presentation: 1.18.3 - released on: Nov 23, 2021