mirror of
https://github.com/moparisthebest/android_external_GmsLib
synced 2024-12-04 06:32:24 -05:00
Update structure, add maven support
This commit is contained in:
parent
4b4e173add
commit
c790480c40
7
.gitmodules
vendored
7
.gitmodules
vendored
@ -1,6 +1,3 @@
|
||||
[submodule "GmsApi"]
|
||||
path = GmsApi
|
||||
[submodule "play-services-api"]
|
||||
path = play-services-api
|
||||
url = https://github.com/microg/android_external_GmsApi.git
|
||||
[submodule "SafeParcel"]
|
||||
path = SafeParcel
|
||||
url = https://github.com/microg/android_external_SafeParcel.git
|
||||
|
1
GmsApi
1
GmsApi
@ -1 +0,0 @@
|
||||
Subproject commit 3243e7d3ecf2f7ff92279b61c4a7e7831356f5c7
|
@ -1 +0,0 @@
|
||||
Subproject commit a650ca5beac2a374460d820935b40f9539e692db
|
1
SafeParcel
Symbolic link
1
SafeParcel
Symbolic link
@ -0,0 +1 @@
|
||||
play-services-api/SafeParcel/
|
41
build.gradle
41
build.gradle
@ -1,30 +1,15 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:1.0.1'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
dependencies {
|
||||
compile 'com.android.support:support-v4:21.0.3'
|
||||
compile project(':GmsApi')
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 21
|
||||
buildToolsVersion "21.1.2"
|
||||
lintOptions.abortOnError false
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
java.srcDirs = ['src']
|
||||
aidl.srcDirs = ['src']
|
||||
res.srcDirs = ['res']
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
subprojects {
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:1.0.1'
|
||||
classpath 'com.github.dcendents:android-maven-plugin:1.2'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group = 'org.microg.gms'
|
||||
version = '1.0-SNAPSHOT'
|
||||
}
|
1
play-services-api
Submodule
1
play-services-api
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit d2ec5f52fa6c1aed0640e65130b20e3ffce5f8b0
|
12
play-services-base/build.gradle
Normal file
12
play-services-base/build.gradle
Normal file
@ -0,0 +1,12 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'com.github.dcendents.android-maven'
|
||||
|
||||
dependencies {
|
||||
compile 'com.android.support:support-v4:22.0.0'
|
||||
compile project(':play-services-api')
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion "21.1.2"
|
||||
}
|
6
play-services-base/src/main/AndroidManifest.xml
Normal file
6
play-services-base/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.google.android.gms">
|
||||
|
||||
<uses-sdk android:minSdkVersion="9" />
|
||||
</manifest>
|
11
play-services-location/build.gradle
Normal file
11
play-services-location/build.gradle
Normal file
@ -0,0 +1,11 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'com.github.dcendents.android-maven'
|
||||
|
||||
dependencies {
|
||||
compile project(':play-services-base')
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion "22.0.0"
|
||||
}
|
11
play-services-wearable/build.gradle
Normal file
11
play-services-wearable/build.gradle
Normal file
@ -0,0 +1,11 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'com.github.dcendents.android-maven'
|
||||
|
||||
dependencies {
|
||||
compile project(':play-services-base')
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 21
|
||||
buildToolsVersion "21.1.2"
|
||||
}
|
6
play-services-wearable/src/main/AndroidManifest.xml
Normal file
6
play-services-wearable/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.google.android.gms">
|
||||
|
||||
<uses-sdk android:minSdkVersion="9" />
|
||||
</manifest>
|
14
play-services/build.gradle
Normal file
14
play-services/build.gradle
Normal file
@ -0,0 +1,14 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'com.github.dcendents.android-maven'
|
||||
|
||||
dependencies {
|
||||
compile 'com.android.support:support-v4:21.0.3'
|
||||
compile project(':play-services-base')
|
||||
compile project(':play-services-location')
|
||||
compile project(':play-services-wearable')
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 21
|
||||
buildToolsVersion "22.0.0"
|
||||
}
|
6
play-services/src/main/AndroidManifest.xml
Normal file
6
play-services/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.google.android.gms">
|
||||
|
||||
<uses-sdk android:minSdkVersion="9" />
|
||||
</manifest>
|
@ -1 +1,8 @@
|
||||
include ':GmsApi', ':SafeParcel'
|
||||
include ':SafeParcel'
|
||||
include ':play-services-api'
|
||||
|
||||
include ':play-services-base'
|
||||
include ':play-services-location'
|
||||
include ':play-services-wearable'
|
||||
|
||||
include ':play-services'
|
||||
|
Loading…
Reference in New Issue
Block a user