整理Gradle依赖关系
This commit is contained in:
@@ -118,12 +118,6 @@ android {
|
|||||||
packagingOptions {
|
packagingOptions {
|
||||||
exclude 'META-INF/io.netty.versions.properties'
|
exclude 'META-INF/io.netty.versions.properties'
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
|
||||||
main {
|
|
||||||
res.srcDirs = ['src/main/res', 'src/main/res-night']
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -35,12 +35,6 @@ allprojects {
|
|||||||
maven { url 'http://nexus.zhidaoauto.com/repository/maven-releases/' }
|
maven { url 'http://nexus.zhidaoauto.com/repository/maven-releases/' }
|
||||||
maven { url 'http://nexus.zhidaoauto.com/repository/maven-public/' }
|
maven { url 'http://nexus.zhidaoauto.com/repository/maven-public/' }
|
||||||
google()
|
google()
|
||||||
// flatDir {
|
|
||||||
// 由于Library module中引用了 youkuplayer 库的 aar,在多 module 的情况下,
|
|
||||||
// 其他的module编译会报错,所以需要在所有工程的repositories
|
|
||||||
// 下把Library module中的libs目录添加到依赖关系中
|
|
||||||
// dirs project(':libraries:map-baidu').file('libs')
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user