Skip to content

Commit

Permalink
Update gradle and build tools
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Scott <olivercscott@gmail.com>
  • Loading branch information
mar-v-in and Uldiniad committed Aug 18, 2023
1 parent 8590f6d commit 4c32a11
Show file tree
Hide file tree
Showing 176 changed files with 553 additions and 184 deletions.
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
ext.cronetVersion = '102.5005.125'
ext.wearableVersion = '0.1.1'

ext.kotlinVersion = '1.7.10'
ext.kotlinVersion = '1.7.22'
ext.coroutineVersion = '1.6.4'

ext.annotationVersion = '1.5.0'
Expand All @@ -26,11 +26,11 @@ buildscript {

ext.slf4jVersion = '1.7.36'
ext.volleyVersion = '1.2.1'
ext.wireVersion = '4.4.1'
ext.wireVersion = '4.8.0'

ext.androidBuildGradleVersion = '7.2.1'
ext.androidBuildGradleVersion = '8.0.2'

ext.androidBuildVersionTools = '33.0.0'
ext.androidBuildVersionTools = '33.0.1'

ext.androidMinSdk = 14
ext.androidTargetSdk = 29
Expand All @@ -53,7 +53,6 @@ buildscript {
classpath "com.android.tools.build:gradle:$androidBuildGradleVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.squareup.wire:wire-gradle-plugin:$wireVersion"
classpath "com.github.kezong:fat-aar:1.3.8"
}
}

Expand Down
5 changes: 5 additions & 0 deletions firebase-auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
apply plugin: 'com.android.library'

android {
namespace 'com.google.firebase.auth'
compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

buildFeatures {
aidl = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
Expand Down
6 changes: 6 additions & 0 deletions firebase-auth/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ dependencies {
}

android {
namespace "org.microg.gms.firebase.auth.core"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

Expand All @@ -41,4 +43,8 @@ android {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}

kotlinOptions {
jvmTarget = 1.8
}
}
3 changes: 1 addition & 2 deletions firebase-auth/core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
~ SPDX-FileCopyrightText: 2020, microG Project Team
~ SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.microg.gms.firebase.auth.core">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class IdentityToolkitClient(context: Context, private val apiKey: String, privat
.put("password", password)
.put("displayName", displayName)
.put("photoUrl", photoUrl)
.put("deleteAttribute", JSONArray().apply { deleteAttribute.forEach { put(it) } }))
.put("deleteAttribute", JSONArray().apply { deleteAttribute.map { put(it) } }))

suspend fun signupNewUser(email: String? = null, password: String? = null, tenantId: String? = null): JSONObject =
request("signupNewUser", JSONObject()
Expand Down
2 changes: 1 addition & 1 deletion firebase-auth/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest package="org.microg.gms.firebase.auth.api" />
<manifest />
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

android {
namespace "com.google.firebase.dynamiclinks"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

buildFeatures {
aidl = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
~ limitations under the License.
-->

<manifest package="org.microg.gms.firebase.dynamiclinks.api"/>
<manifest />
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
android.useAndroidX=true
android.disableAutomaticComponentCreation=true
org.gradle.jvmargs=-Xmx2048m -XX:+UseParallelGC
org.gradle.jvmargs=-Xmx2048m -XX:+UseParallelGC --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 6 additions & 0 deletions play-services-ads-base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

android {
namespace "com.google.android.gms.ads_base"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

buildFeatures {
aidl = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
Expand Down
2 changes: 1 addition & 1 deletion play-services-ads-base/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest package="com.google.android.gms.ads_base"/>
<manifest />
6 changes: 6 additions & 0 deletions play-services-ads-identifier/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

android {
namespace "com.google.android.gms.ads.identifier"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

buildFeatures {
aidl = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
Expand Down
6 changes: 6 additions & 0 deletions play-services-ads-identifier/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ dependencies {
}

android {
namespace "org.microg.gms.ads.identifier"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

Expand All @@ -30,6 +32,10 @@ android {
targetCompatibility = 1.8
}

kotlinOptions {
jvmTarget = 1.8
}

lintOptions {
disable 'MissingTranslation'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest package="org.microg.gms.ads.identifier"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application>
<service android:name=".AdvertisingIdService">
Expand Down
2 changes: 1 addition & 1 deletion play-services-ads-identifier/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest package="com.google.android.gms.ads.identifier"/>
<manifest />
6 changes: 6 additions & 0 deletions play-services-ads-lite/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

android {
namespace "com.google.android.gms.ads"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

buildFeatures {
aidl = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
Expand Down
6 changes: 6 additions & 0 deletions play-services-ads-lite/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ dependencies {
}

android {
namespace "org.microg.gms.ads"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

Expand All @@ -29,4 +31,8 @@ android {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}

kotlinOptions {
jvmTarget = 1.8
}
}
3 changes: 1 addition & 2 deletions play-services-ads-lite/core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest package="org.microg.gms.ads"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>
3 changes: 1 addition & 2 deletions play-services-ads-lite/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest package="com.google.android.gms.ads"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
Expand Down
6 changes: 6 additions & 0 deletions play-services-ads/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

android {
namespace "com.google.android.gms.ads.impl"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

buildFeatures {
aidl = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
Expand Down
6 changes: 6 additions & 0 deletions play-services-ads/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ dependencies {
}

android {
namespace "org.microg.gms.ads.impl"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

Expand All @@ -31,4 +33,8 @@ android {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}

kotlinOptions {
jvmTarget = 1.8
}
}
3 changes: 1 addition & 2 deletions play-services-ads/core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest package="org.microg.gms.ads.impl"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<service android:name="org.microg.gms.ads.AdRequestService">
<intent-filter>
Expand Down
3 changes: 1 addition & 2 deletions play-services-ads/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest package="com.google.android.gms.ads.impl"
xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:tools="http://schemas.android.com/tools">
<uses-sdk tools:overrideLibrary="androidx.browser" />
</manifest>
6 changes: 6 additions & 0 deletions play-services-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@
apply plugin: 'com.android.library'

android {
namespace "org.microg.gms.api"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

buildFeatures {
aidl = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
Expand Down
2 changes: 1 addition & 1 deletion play-services-api/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
~ limitations under the License.
-->

<manifest package="org.microg.gms.api"/>
<manifest />
6 changes: 6 additions & 0 deletions play-services-appinvite/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@ apply plugin: 'com.android.library'
group = 'org.microg'

android {
namespace "com.google.android.gms.appinvite"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

buildFeatures {
aidl = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
Expand Down
6 changes: 6 additions & 0 deletions play-services-appinvite/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ dependencies {
}

android {
namespace "org.microg.gms.appinvite"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

Expand All @@ -31,4 +33,8 @@ android {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}

kotlinOptions {
jvmTarget = 1.8
}
}
3 changes: 1 addition & 2 deletions play-services-appinvite/core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest package="org.microg.gms.appinvite"
xmlns:android="http://schemas.android.com/apk/res/android"
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<application>
Expand Down
2 changes: 1 addition & 1 deletion play-services-appinvite/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
~ limitations under the License.
-->

<manifest package="com.google.android.gms.appinvite"/>
<manifest />
6 changes: 6 additions & 0 deletions play-services-auth-api-phone/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

android {
namespace "com.google.android.gms.auth.api.phone"

compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"

buildFeatures {
aidl = true
}

defaultConfig {
versionName version
minSdkVersion androidMinSdk
Expand Down
2 changes: 1 addition & 1 deletion play-services-auth-api-phone/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
~ SPDX-FileCopyrightText: 2023 microG Project Team
~ SPDX-License-Identifier: Apache-2.0
-->
<manifest package="com.google.android.gms.auth.api.phone"/>
<manifest />

0 comments on commit 4c32a11

Please sign in to comment.