提交 e052204e 编写于 作者: H huangziwei

去掉本地aar依赖

上级 eb5d54b9
configurations.maybeCreate("default")
artifacts.add("default", file('AndroidsLib-release.aar'))
\ No newline at end of file
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion 23 compileSdkVersion COMPILE_SDK_VERSION as int
buildToolsVersion "23.0.1" buildToolsVersion BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
minSdkVersion 9 minSdkVersion MIN_SDK_VERSION as int
targetSdkVersion 23 targetSdkVersion TARGET_SDK_VERSION as int
versionCode 5 versionCode VERSION_CODE as int
versionName "4.1" versionName VERSION_NAME
} }
/*
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
} }
} }
*/
} }
dependencies { dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.forward.androids:androids:1.1'
// compile 'com.android.support:support-v4:23.0.1'
compile project(':AndroidsLib-release')
} }
configurations.maybeCreate("default")
artifacts.add("default", file('ImageSelctorLib-release.aar'))
\ No newline at end of file
...@@ -93,6 +93,12 @@ public static class GraffitiParams implements Parcelable { ...@@ -93,6 +93,12 @@ public static class GraffitiParams implements Parcelable {
``` ```
### 依赖 ### 依赖
```
dependencies {
compile 'com.forward.androids:androids:1.1'
}
```
* [Androids](https://github.com/1993hzw/Androids) * [Androids](https://github.com/1993hzw/Androids)
* [ImageSelector](https://github.com/1993hzw/ImageSelector) * [ImageSelector](https://github.com/1993hzw/ImageSelector)
......
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 23 compileSdkVersion COMPILE_SDK_VERSION as int
buildToolsVersion "23.0.1" buildToolsVersion BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "cn.hzw.graffitidemo" applicationId "cn.hzw.graffitidemo"
minSdkVersion 9 minSdkVersion MIN_SDK_VERSION as int
targetSdkVersion 23 targetSdkVersion TARGET_SDK_VERSION as int
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
} }
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled false
...@@ -22,5 +23,6 @@ android { ...@@ -22,5 +23,6 @@ android {
dependencies { dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs') compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':GraffitiLib') compile project(':GraffitiLib')
compile project(':ImageSelctorLib-release') // compile project(':ImageSelctorLib-release')
compile 'cn.hzw.imageselector:library:1.0'
} }
# Project-wide Gradle settings. MIN_SDK_VERSION=14
TARGET_SDK_VERSION=22
# IDE (e.g. Android Studio) users: VERSION_NAME=4.1
# Gradle settings configured through the IDE *will override* VERSION_CODE=6
# any settings specified in this file. BUILD_TOOLS_VERSION=23.0.2
COMPILE_SDK_VERSION=23
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
\ No newline at end of file
include ':app', ':GraffitiLib', ':ImageSelector', ':AndroidsLib-release', ':ImageSelctorLib-release' include ':app', ':GraffitiLib'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册