mirror of
https://github.com/ProtonMail/protoncore_android.git
synced 2026-06-14 09:54:49 +00:00
Increase global minSdk [21] -> [23]
This commit is contained in:
committed by
Davide Giuseppe Farella
parent
db6b2b4980
commit
f6b8069eb2
@@ -1,3 +1,21 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* ProtonCore is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with ProtonCore. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import studio.forface.easygradle.dsl.*
|
||||
import studio.forface.easygradle.dsl.android.*
|
||||
|
||||
@@ -8,7 +26,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 8)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -29,7 +29,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 8)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -27,7 +27,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 8)
|
||||
|
||||
android(minSdk = 23) {
|
||||
android() {
|
||||
defaultConfig {
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
|
||||
@@ -1,3 +1,21 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* ProtonCore is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with ProtonCore. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import studio.forface.easygradle.dsl.*
|
||||
import studio.forface.easygradle.dsl.android.*
|
||||
|
||||
@@ -8,7 +26,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 3)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 3)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 5)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -26,7 +26,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 5)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -30,10 +30,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 5)
|
||||
|
||||
android(
|
||||
minSdk = 23,
|
||||
useDataBinding = true
|
||||
)
|
||||
android(useDataBinding = true)
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 4)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -27,7 +27,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 4)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
implementation(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -27,7 +27,6 @@ plugins {
|
||||
}
|
||||
|
||||
android(
|
||||
minSdk = 23,
|
||||
version = Version(0, 3, 3),
|
||||
useDataBinding = true
|
||||
)
|
||||
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 3)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -26,7 +26,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 3)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -29,7 +29,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 3)
|
||||
|
||||
android(useDataBinding = true, minSdk = 23)
|
||||
android(useDataBinding = true)
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -26,7 +26,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 3)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
implementation(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 3)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -27,7 +27,7 @@ object ProtonCore {
|
||||
/** The Android API level as target of the App */
|
||||
const val targetSdk = 30
|
||||
/** The Android API level required for run the App */
|
||||
const val minSdk = 21
|
||||
const val minSdk = 23
|
||||
/** The version of the JDK */
|
||||
val jdkVersion = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 3, 3)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -29,10 +29,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 3, 3)
|
||||
|
||||
android(
|
||||
minSdk = 23,
|
||||
useDataBinding = true
|
||||
)
|
||||
android(useDataBinding = true)
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 4)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -27,7 +27,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 4)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
implementation(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 1)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -26,7 +26,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 1)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 4)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -26,7 +26,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 4)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -29,9 +29,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 1, 4)
|
||||
|
||||
android(
|
||||
minSdk = 23,
|
||||
useDataBinding = true)
|
||||
android(useDataBinding = true)
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -27,10 +27,7 @@ plugins {
|
||||
|
||||
libVersion = Version(0, 7, 0)
|
||||
|
||||
android(
|
||||
minSdk = 23,
|
||||
useDataBinding = true
|
||||
)
|
||||
android(useDataBinding = true)
|
||||
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -25,7 +25,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 5)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
api(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Proton Technologies AG
|
||||
* Copyright (c) 2021 Proton Technologies AG
|
||||
* This file is part of Proton Technologies AG and ProtonCore.
|
||||
*
|
||||
* ProtonCore is free software: you can redistribute it and/or modify
|
||||
@@ -27,7 +27,7 @@ plugins {
|
||||
|
||||
libVersion = Version(1, 0, 5)
|
||||
|
||||
android(minSdk = 23)
|
||||
android()
|
||||
|
||||
dependencies {
|
||||
implementation(
|
||||
|
||||
Reference in New Issue
Block a user