Kaynağa Gözat

去掉自动生成的iml文件

Ray Zhang 7 yıl önce
ebeveyn
işleme
3e1b137161

+ 12 - 16
ApexDrivers/RAUtilsLibrary/build.gradle

@@ -16,27 +16,23 @@ android {
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
         }
     }
-
-
-
-
     libraryVariants.all { variant ->
 //        if (variant.buildType.name == 'release') {
-            variant.assemble.doLast {
-                variant.outputs.each { output ->
-                    def outputFile = output.outputFile
+        variant.assemble.doLast {
+            variant.outputs.each { output ->
+                def outputFile = output.outputFile
 //                    if (outputFile != null && outputFile.name.endsWith('release.aar')) {
-                        def fileName = "${project.name}"
-                    println(fileName)
-                        def outputPath = "../output"
-                        copy {
-                            from outputFile
-                            into outputPath
-                            rename { fileName + ".aar" }
-                        }
-//                    }
+                def fileName = "${project.name}"
+                println(fileName)
+                def outputPath = "../output"
+                copy {
+                    from outputFile
+                    into outputPath
+                    rename { fileName + ".aar" }
                 }
+//                    }
             }
+        }
 //        }
     }
     gradle.projectsEvaluated {

+ 1 - 7
ApexDrivers/apexcrm/build.gradle

@@ -2,9 +2,6 @@ apply plugin: 'com.android.application'
 
 android {
     compileSdkVersion 26
-
-
-
     defaultConfig {
         applicationId "com.usai.apex.apexcrm"
         minSdkVersion 21
@@ -15,19 +12,16 @@ android {
         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
 
     }
-
     buildTypes {
         release {
             minifyEnabled false
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
         }
     }
-
 }
 
 dependencies {
-    implementation fileTree(dir: 'libs', include: ['*.jar'])
-
+    implementation fileTree(include: ['*.jar'], dir: 'libs')
     implementation 'com.android.support:appcompat-v7:26.1.0'
     implementation 'com.android.support.constraint:constraint-layout:1.1.3'
     testImplementation 'junit:junit:4.12'

+ 13 - 19
ApexDrivers/apexdriverscn/build.gradle

@@ -2,9 +2,6 @@ apply plugin: 'com.android.application'
 
 android {
     compileSdkVersion 26
-
-
-
     defaultConfig {
         applicationId "com.usai.apex.apexdriverscn"
         minSdkVersion 23
@@ -15,7 +12,6 @@ android {
         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
 
     }
-
     buildTypes {
         release {
             minifyEnabled false
@@ -36,25 +32,23 @@ android {
 }
 
 dependencies {
-
-//    api project(':apexdriverslib')
-//    api project(':RAUtilsLibrary')
-//    implementation fileTree(dir: 'libs', include: ['*.jar'])
-//
-//    implementation 'com.android.support:appcompat-v7:27.1.1'
-//
-//    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
+    //    api project(':apexdriverslib')
+    //    api project(':RAUtilsLibrary')
+    //    implementation fileTree(dir: 'libs', include: ['*.jar'])
+    //
+    //    implementation 'com.android.support:appcompat-v7:27.1.1'
+    //
+    //    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
     testImplementation 'junit:junit:4.12'
     androidTestImplementation 'com.android.support.test:runner:1.0.2'
     androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
-
-    implementation fileTree(dir: 'libs', include: ['*.jar'])
+    implementation fileTree(include: ['*.jar'], dir: 'libs')
     implementation 'com.android.support:appcompat-v7:26.1.0'
-//    implementation 'com.android.support:appcompat-v7:27.1.1'
-//    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
-//    testImplementation 'junit:junit:4.12'
-//    androidTestImplementation 'com.android.support.test:runner:1.0.2'
-//    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
+    //    implementation 'com.android.support:appcompat-v7:27.1.1'
+    //    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
+    //    testImplementation 'junit:junit:4.12'
+    //    androidTestImplementation 'com.android.support.test:runner:1.0.2'
+    //    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
     api project(':RAUtilsLibrary')
     api project(':apexdriverslib')
 }

+ 3 - 9
ApexDrivers/apexdriversi/build.gradle

@@ -2,9 +2,6 @@ apply plugin: 'com.android.application'
 
 android {
     compileSdkVersion 26
-
-
-
     defaultConfig {
         applicationId "com.usai.apex.apexdriversi"
         minSdkVersion 23
@@ -15,7 +12,6 @@ android {
         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
 
     }
-
     buildTypes {
         release {
             minifyEnabled false
@@ -36,15 +32,13 @@ android {
 }
 
 dependencies {
-
-    implementation fileTree(dir: 'libs', include: ['*.jar'])
+    implementation fileTree(include: ['*.jar'], dir: 'libs')
     implementation 'com.android.support:appcompat-v7:26.1.0'
-//    implementation 'com.android.support:appcompat-v7:27.1.1'
-//    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
+    //    implementation 'com.android.support:appcompat-v7:27.1.1'
+    //    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
     testImplementation 'junit:junit:4.12'
     androidTestImplementation 'com.android.support.test:runner:1.0.2'
     androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
     api project(':RAUtilsLibrary')
     api project(':apexdriverslib')
-
 }

+ 0 - 1
ApexDrivers/apexdriverslib/build.gradle

@@ -37,7 +37,6 @@ android {
         }
 //        }
     }
-
     gradle.projectsEvaluated {
         tasks.withType(JavaCompile) {
 //            options.compilerArgs << "-Xlint:deprecation"