Move kotlin extension from play-services-basement to play-services-basement-ktx

This commit is contained in:
Marvin W 2021-12-06 18:30:23 +01:00
parent a7eb9a2732
commit 41a32d93fe
No known key found for this signature in database
GPG Key ID: 072E9235DB996F2A
6 changed files with 60 additions and 23 deletions

View File

@ -9,7 +9,7 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'
dependencies {
api project(':play-services-basement')
api project(':play-services-basement-ktx')
api "androidx.lifecycle:lifecycle-service:$lifecycleVersion"
implementation "androidx.annotation:annotation:$annotationVersion"

View File

@ -0,0 +1,32 @@
/*
* SPDX-FileCopyrightText: 2021, microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'maven-publish'
apply plugin: 'signing'
dependencies {
api project(":play-services-basement")
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
}
android {
compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
}
apply from: '../gradle/publish-android.gradle'
description = 'microG kotlin extensions for play-services-basement'

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ SPDX-FileCopyrightText: 2021, microG Project Team
~ SPDX-License-Identifier: Apache-2.0
-->
<manifest package="org.microg.gms.basement.ktx" />

View File

@ -15,7 +15,6 @@
*/
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'maven-publish'
apply plugin: 'signing'
@ -23,7 +22,6 @@ dependencies {
api "org.microg:safe-parcel:$safeParcelVersion"
implementation "androidx.annotation:annotation:$annotationVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
}
android {
@ -42,10 +40,6 @@ android {
buildConfigField "int", "VERSION_CODE", "$appVersionCode"
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8

View File

@ -17,10 +17,30 @@ include ':play-services-wearable-api'
include ':play-services-api'
include ':play-services-base'
include ':play-services-cast'
include ':play-services-droidguard'
include ':play-services-gcm'
include ':play-services-iid'
include ':play-services-location'
include ':play-services-nearby'
include ':play-services-vision'
include ':play-services-vision-common'
include ':play-services-wearable'
include ':play-services'
include ':firebase-auth-api'
include ':firebase-dynamic-links-api'
// core only
include ':play-services-core-proto'
include ':play-services-nearby-core-proto'
include ':play-services-wearable-proto'
include ':play-services-basement-ktx'
include ':play-services-base-core'
include ':play-services-conscrypt-provider-core'
include ':play-services-cronet-core'
@ -35,23 +55,7 @@ include ':play-services-vision-core'
include ':play-services-base-core-ui'
include ':play-services-nearby-core-ui'
include ':firebase-auth-api'
include ':firebase-dynamic-links-api'
include ':firebase-auth-core'
include ':play-services-core:microg-ui-tools' // Legacy
include ':play-services-core'
include ':play-services-base'
include ':play-services-cast'
include ':play-services-droidguard'
include ':play-services-gcm'
include ':play-services-iid'
include ':play-services-location'
include ':play-services-nearby'
include ':play-services-vision'
include ':play-services-vision-common'
include ':play-services-wearable'
include ':play-services'