|
@@ -1,8 +1,7 @@
|
|
|
-
|
|
|
-if (componentTag){
|
|
|
+if (componentTag) {
|
|
|
apply plugin: 'com.android.application'
|
|
|
apply plugin: 'com.enation.javashop.aspectjrt'
|
|
|
-}else{
|
|
|
+} else {
|
|
|
apply plugin: 'com.android.library'
|
|
|
}
|
|
|
|
|
@@ -22,7 +21,7 @@ android {
|
|
|
buildToolsVersion build_tools_version
|
|
|
|
|
|
defaultConfig {
|
|
|
- if (componentTag){
|
|
|
+ if (componentTag) {
|
|
|
applicationId "com.wdkl.ncs.android.component.home"
|
|
|
multiDexEnabled true
|
|
|
}
|
|
@@ -37,7 +36,6 @@ android {
|
|
|
|
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
lintOptions {
|
|
|
abortOnError false
|
|
@@ -50,9 +48,9 @@ android {
|
|
|
}
|
|
|
sourceSets {
|
|
|
main.java.srcDirs += 'src/main/code'
|
|
|
- if(componentTag){
|
|
|
+ if (componentTag) {
|
|
|
main.manifest.srcFile 'src/main/ApkBuildDir/AndroidManifest.xml'
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
main.manifest.srcFile 'src/main/AndroidManifest.xml'
|
|
|
main.java {
|
|
|
exclude 'apkbuild/**'
|
|
@@ -62,6 +60,7 @@ android {
|
|
|
}
|
|
|
|
|
|
dependencies {
|
|
|
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
@@ -84,7 +83,7 @@ dependencies {
|
|
|
*/
|
|
|
compile project(':middleware')
|
|
|
|
|
|
- if(componentTag){
|
|
|
+ if (componentTag) {
|
|
|
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
|
|
|
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
|
|
|
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
|
|
@@ -108,7 +107,7 @@ dependencies {
|
|
|
/**
|
|
|
* constraint-layout布局依赖
|
|
|
*/
|
|
|
- compile 'com.android.support.constraint:constraint-layout:1.1.0-beta5'
|
|
|
+ implementation 'com.android.support.constraint:constraint-layout:1.1.0-beta5'
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
|
|
compile project(':starRTC')
|
|
@@ -117,12 +116,12 @@ dependencies {
|
|
|
/**
|
|
|
* kawo组件化框架配置
|
|
|
*/
|
|
|
-if(componentTag){
|
|
|
+if (componentTag) {
|
|
|
kawo {
|
|
|
/**
|
|
|
* Aop注解排除Jar
|
|
|
*/
|
|
|
- aspectExcludeJarFilter 'com.enation.geamtear.pay','AlipaySdk'
|
|
|
+ aspectExcludeJarFilter 'com.enation.geamtear.pay', 'AlipaySdk'
|
|
|
}
|
|
|
}
|
|
|
repositories {
|