0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2024-12-04 08:47:26 +00:00
VancedMicroG/play-services-cronet-core/build.gradle
2022-01-28 00:47:01 +01:00

37 lines
1.2 KiB
Groovy

/*
* SPDX-FileCopyrightText: 2021, microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
apply plugin: 'signing'
dependencies {
// TODO: Embedding the API causes random crashes as the Android AOT compiler will link the native implementation to
// out API classes even if embedded by a third-party app that comes with their own API classes.
// Need to find a better way to disable AOT for Cronet. Could be by packaging cronet as it's own apk that is
// embedded in the main APK but only loaded at runtime so that the AOT compiler has no way to become active.
// implementation("org.microg:cronet-api:$cronetVersion")
implementation("org.microg:cronet-common:91.0.4472.120.1")
implementation("org.microg:cronet-native:91.0.4472.120.1")
}
android {
compileSdkVersion androidCompileSdk
buildToolsVersion "30.0.3"
defaultConfig {
minSdkVersion androidMinSdk
targetSdkVersion androidTargetSdk
}
lintOptions {
disable 'MissingTranslation'
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
}