Update structure, add maven support

This commit is contained in:
mar-v-in 2015-03-13 01:41:14 +01:00
parent 4b4e173add
commit c790480c40
53 changed files with 91 additions and 36 deletions

7
.gitmodules vendored
View File

@ -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 +0,0 @@
Subproject commit 3243e7d3ecf2f7ff92279b61c4a7e7831356f5c7

@ -1 +0,0 @@
Subproject commit a650ca5beac2a374460d820935b40f9539e692db

1
SafeParcel Symbolic link
View File

@ -0,0 +1 @@
play-services-api/SafeParcel/

View File

@ -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

@ -0,0 +1 @@
Subproject commit d2ec5f52fa6c1aed0640e65130b20e3ffce5f8b0

View 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"
}

View 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>

View 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"
}

View 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"
}

View 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>

View 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"
}

View 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>

View File

@ -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'