Last active
August 29, 2015 14:06
-
-
Save takahirom/24b8f08a8f31818fbd13 to your computer and use it in GitHub Desktop.
Androidライブラリプロジェクト(aar)のファイルを直接読み込む
This file contains 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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 20 | |
buildToolsVersion "20.0.0" | |
defaultConfig { | |
applicationId "com.xxxx.xxxx" | |
minSdkVersion 18 | |
targetSdkVersion 20 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
runProguard false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
repositories { | |
mavenCentral() | |
flatDir { | |
dirs '../../XXX/mobile/build/outputs/aar' | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
compile(name:'mobile', ext:'aar') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment