Introduce new play-services-ads-api package

This commit is contained in:
Marvin W 2026-06-08 19:54:45 +02:00
parent 96afe5957f
commit 4c4247e02e
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A
104 changed files with 106 additions and 32 deletions

View file

@ -0,0 +1,46 @@
/*
* SPDX-FileCopyrightText: 2026 microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
apply plugin: 'com.android.library'
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
targetSdkVersion androidTargetSdk
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
apply from: '../gradle/publish-android.gradle'
description = 'microG implementation of play-services-ads-api'
dependencies {
// Dependencies from play-services-ads-api:25.3.0
api 'androidx.browser:browser:1.8.0'
api 'androidx.core:core:1.10.1'
api 'androidx.datastore:datastore:1.0.0'
api 'androidx.work:work-runtime:2.7.0'
//api 'com.google.android.ump:user-messaging-platform:4.0.0'
api project(':play-services-basement')
//api project(':play-services-measurement-sdk-api')
annotationProcessor project(':safe-parcel-processor')
}

View file

@ -7,7 +7,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
dependencies {
api project(':play-services-ads-lite')
api project(':play-services-ads-api')
implementation project(':play-services-base-core')
}

View file

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ SPDX-FileCopyrightText: 2026 microG Project Team
~ SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<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" />
<uses-permission android:name="android.permission.ACCESS_ADSERVICES_AD_ID" />
<uses-permission android:name="android.permission.ACCESS_ADSERVICES_ATTRIBUTION" />
<uses-permission android:name="android.permission.ACCESS_ADSERVICES_TOPICS" />
<uses-permission
android:name="android.permission.RECEIVE_BOOT_COMPLETED"
tools:node="remove" />
<queries>
<!-- Website links -->
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
</intent>
<!-- Custom tabs -->
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
<!-- MRAID -->
<intent>
<action android:name="android.intent.action.INSERT" />
<data android:mimeType="vnd.android.cursor.dir/event" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="sms" />
</intent>
<intent>
<action android:name="android.intent.action.DIAL" />
<data android:path="tel:" />
</intent>
</queries>
<application>
<meta-data
android:name="com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING"
android:value="true" />
<meta-data
android:name="com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION"
android:value="true" />
</application>
</manifest>

View file

@ -8,7 +8,7 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'
android {
namespace "com.google.android.gms.ads"
namespace "com.google.android.gms.ads_lite"
compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"
@ -34,10 +34,6 @@ apply from: '../gradle/publish-android.gradle'
description = 'microG implementation of play-services-ads-lite'
dependencies {
api 'androidx.work:work-runtime:2.7.0'
api project(':play-services-ads-base')
api project(':play-services-basement')
annotationProcessor project(':safe-parcel-processor')
// api project(':play-services-measurement-sdk-api')
// api project(':user-messaging-platform')
// Dependencies from play-services-ads-lite:25.0.0
api project(':play-services-ads-api')
}

Some files were not shown because too many files have changed in this diff Show more