Skip to content

Commit

Permalink
refactor version.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
yjfnypeu committed Mar 21, 2018
1 parent 7902175 commit b56eec5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
11 changes: 1 addition & 10 deletions RePluginDemo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

apply from: './version.gradle'
buildscript {
repositories {
jcenter()
Expand All @@ -24,12 +24,3 @@ task clean(type: Delete) {
delete rootProject.buildDir
}

ext {
ROUTER_VERSION="2.6.0"
PARCELER_VERSION="1.3.5"
ButterKnife_version = "8.8.1"
UpdatePlugin_version = "2.9.1"
RePlugin_version = '2.1.7'
Router_RePlugin_version = '0.7.0'
useLocal = true // 指定当前使用的Router-RePlugin库。是使用本地的还是远程仓库的。
}
9 changes: 9 additions & 0 deletions RePluginDemo/version.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ext {
ROUTER_VERSION="2.6.0"
PARCELER_VERSION="1.3.5"
ButterKnife_version = "8.8.1"
UpdatePlugin_version = "2.9.1"
RePlugin_version = '2.1.7'
Router_RePlugin_version = '0.7.0'
useLocal = false // 指定当前使用的Router-RePlugin库。是使用本地的还是远程仓库的。
}
8 changes: 1 addition & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,4 @@ task clean(type: Delete) {
delete rootProject.buildDir
}

ext {
ROUTER_VERSION="2.4.5"
PARCELER_VERSION="1.2"
ButterKnife_version = "8.8.1"
UpdatePlugin_version = "2.4.3"
RePlugin_version = '2.1.7'
}
apply from: 'RePluginDemo/version.gradle'

0 comments on commit b56eec5

Please sign in to comment.