diff --git a/.idea/misc.xml b/.idea/misc.xml
index 10608e0..42fab5f 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -13,7 +13,7 @@
-
+
diff --git a/build.gradle b/build.gradle
index bab502e..025df73 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,6 +19,7 @@ buildscript {
dependencies {
classpath "com.android.tools.build:gradle:4.0.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
// 对kotlin生成doc
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:0.10.1'
// NOTE: Do not place your application dependencies here; they belong
diff --git a/foudations/mogo-httpdns/build.gradle b/foudations/mogo-httpdns/build.gradle
index 0d64496..5958e23 100644
--- a/foudations/mogo-httpdns/build.gradle
+++ b/foudations/mogo-httpdns/build.gradle
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
+ id 'kotlin-android-extensions'
}
// 对kotlin生成doc
apply plugin: 'org.jetbrains.dokka'
diff --git a/gradle.properties b/gradle.properties
index 5fba8d5..f125abb 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -23,7 +23,7 @@ SNAPSHOT_REPOSITORY_URL=http://nexus.zhidaoauto.com/repository/maven-snapshots/
USERNAME=xintai
PASSWORD=xintai2018
# 编译模式: false - 依赖本地版本, true - 依赖 maven 版本
-RELEASE=false
+RELEASE=true
# AI CLOUD 云平台
MOGO_COMMONS_VERSION=1.0.4-SNAPSHOT
MOGO_HTTPDNS_VERSION=1.0.4-SNAPSHOT
diff --git a/upload.sh b/upload.sh
index a7ff20c..c835c8b 100755
--- a/upload.sh
+++ b/upload.sh
@@ -1,3 +1,11 @@
#!/bin/bash
-./gradlew :foudations:mogo-httpdns:clean :foudations:mogo-httpdns:uploadArchives
+function upload(){
+ ./gradlew $1:clean $1:uploadArchives
+ if [ $? -ne 0 ];then exit; fi
+}
+
+for module in `cat modules.txt`;
+do
+ upload $module
+done
\ No newline at end of file