Add Gradle (simple and for android) Project Configurator
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:0.5.+'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'android-library'
|
||||
apply plugin: 'maven'
|
||||
|
||||
repositories {
|
||||
maven { url '../testrepo' }
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.example.android.multiproject:util:1.0'
|
||||
releaseCompile 'com.google.guava:guava:11.0.2'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 15
|
||||
buildToolsVersion "17.0"
|
||||
}
|
||||
|
||||
group = 'com.example.android.multiproject'
|
||||
archivesBaseName = 'baseLib'
|
||||
version = '1.0'
|
||||
|
||||
uploadArchives {
|
||||
repositories {
|
||||
mavenDeployer {
|
||||
repository(url: uri("../testrepo"))
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user