Created
October 24, 2013 00:01
-
-
Save joekr/7128972 to your computer and use it in GitHub Desktop.
default build.gradle for libraries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.5+' | |
} | |
} | |
apply plugin: 'android-library' | |
dependencies { | |
compile project(':libraries:Support') | |
} | |
android { | |
compileSdkVersion 17 | |
buildToolsVersion "17" | |
defaultConfig { | |
minSdkVersion 7 | |
targetSdkVersion 17 | |
} | |
sourceSets { | |
main { | |
manifest.srcFile 'library/AndroidManifest.xml' | |
java.srcDirs = ['library/src'] | |
resources.srcDirs = ['library/src'] | |
aidl.srcDirs = ['library/src'] | |
renderscript.srcDirs = ['library/src'] | |
res.srcDirs = ['library/res'] | |
assets.srcDirs = ['library/assets'] | |
} | |
instrumentTest.setRoot('tests') | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment