Allow sub-projects to exist stand-alone

This commit is contained in:
mar-v-in 2015-03-13 03:15:24 +01:00
parent 76602a343f
commit c24447d5d3
5 changed files with 44 additions and 14 deletions

View File

@ -1,15 +1,5 @@
// 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'
}

View File

@ -1,3 +1,13 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.1'
classpath 'com.github.dcendents:android-maven-plugin:1.2'
}
}
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
@ -8,5 +18,5 @@ dependencies {
android {
compileSdkVersion 22
buildToolsVersion "21.1.2"
buildToolsVersion "22.0.0"
}

View File

@ -1,3 +1,13 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.1'
classpath 'com.github.dcendents:android-maven-plugin:1.2'
}
}
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

View File

@ -1,3 +1,13 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.1'
classpath 'com.github.dcendents:android-maven-plugin:1.2'
}
}
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
@ -6,6 +16,6 @@ dependencies {
}
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
compileSdkVersion 22
buildToolsVersion "22.0.0"
}

View File

@ -1,3 +1,13 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.1'
classpath 'com.github.dcendents:android-maven-plugin:1.2'
}
}
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
@ -8,6 +18,6 @@ dependencies {
}
android {
compileSdkVersion 21
compileSdkVersion 22
buildToolsVersion "22.0.0"
}