Watch 1 Star 0 Fork 20

琥珀2014 / AppUpdaterAndroidMIT

forked from Jenly / AppUpdater 
Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
AppUpdater一个专注于App更新,一键傻瓜式集成App版本升级的开源库。 spread retract

Clone or download
versions.gradle 1.16 KB
Copy Edit Web IDE Raw Blame History
jenly1314 authored 2019-06-27 17:07 . 支持AndroidX版本
//App
def app_version = [:]
app_version.versionCode = 5 //androidx 6
app_version.versionName = "1.0.4"
ext.app_version = app_version
//build version
def build_versions = [:]
build_versions.minSdk = 15
build_versions.targetSdk = 28
build_versions.compileSdk = 28
build_versions.buildTools = "28.0.3"
ext.build_versions = build_versions
// App dependencies
def versions = [:]
//support
versions.supportLibrary = "28.0.0"
versions.constraintLayout = "1.1.3"
//test
versions.junit = "4.12"
versions.runner = "1.0.2"
versions.espresso = "3.0.2"
ext.versions = versions
ext.deps = [:]
//support
def support = [:]
support.appcompat = "com.android.support:appcompat-v7:$versions.supportLibrary"
support.constraintlayout = "com.android.support.constraint:constraint-layout:$versions.constraintLayout"
deps.support = support
//test
def test = [:]
test.junit = "junit:junit:$versions.junit"
test.runner = "com.android.support.test:runner:$versions.runner"
test.espresso = "com.android.support.test.espresso:espresso-core:$versions.espresso"
deps.test = test
ext.deps = deps
def addRepos(RepositoryHandler handler) {
handler.google()
handler.jcenter()
}
ext.addRepos = this.&addRepos

Comment ( 0 )

Sign in for post a comment

Android
1
https://gitee.com/774677640/AppUpdater.git
git@gitee.com:774677640/AppUpdater.git
774677640
AppUpdater
AppUpdater
master

Help Search