Skip to content

Commit

Permalink
1.更新 bintray.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Ttt committed Nov 14, 2020
1 parent 4eb478d commit 31ceb12
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.iml
.gradle
local.properties
bintray.properties
.idea
.DS_Store
/build
Expand Down
6 changes: 4 additions & 2 deletions file/bintray/bintrayUploadAndroid.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ apply plugin: 'com.jfrog.bintray'

// load properties
Properties properties = new Properties()
File localPropertiesFile = project.file("bintray.properties");
//File localPropertiesFile = project.file("bintray.properties");
File localPropertiesFile = new File("bintray.properties");
if (localPropertiesFile.exists()) {
properties.load(localPropertiesFile.newDataInputStream())
}
File projectPropertiesFile = project.file("project.properties");
//File projectPropertiesFile = project.file("project.properties");
File projectPropertiesFile = new File("project.properties");
if (projectPropertiesFile.exists()) {
properties.load(projectPropertiesFile.newDataInputStream())
}
Expand Down
6 changes: 4 additions & 2 deletions file/bintray/bintrayUploadJava.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ apply plugin: 'com.jfrog.bintray'

// load properties
Properties properties = new Properties()
File localPropertiesFile = project.file("bintray.properties");
//File localPropertiesFile = project.file("bintray.properties");
File localPropertiesFile = new File("bintray.properties");
if (localPropertiesFile.exists()) {
properties.load(localPropertiesFile.newDataInputStream())
}
File projectPropertiesFile = project.file("project.properties");
//File projectPropertiesFile = project.file("project.properties");
File projectPropertiesFile = new File("project.properties");
if (projectPropertiesFile.exists()) {
properties.load(projectPropertiesFile.newDataInputStream())
}
Expand Down
7 changes: 0 additions & 7 deletions lib/DevBaseMVVM/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ android.defaultConfig {
}

dependencies {
api deps.kotlin.stdlib
api deps.kotlin.core
api deps.kotlin.lifecycle_runtime
api deps.androidx.lifecycle_common_java8
api deps.androidx.design
api deps.androidx.appcompat

// 编译时使用
api project(path: ':DevBase')
// // 打包时使用
Expand Down

0 comments on commit 31ceb12

Please sign in to comment.