12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- // 万利达、高登
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- maven { url "https://jitpack.io" }
- mavenCentral()
- google()
- jcenter()
- maven {
- url 'https://maven.google.com/'
- name 'Google'
- }
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:4.2.1'
- classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
- classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
- // classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.13'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- repositories {
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
- maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
- maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
- maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
- maven { url "https://jitpack.io" }
- mavenCentral()
- google()
- jcenter()
- maven {
- url 'https://maven.google.com/'
- name 'Google'
- }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
- ext {
- android = [
- minSdkVersion : 17,
- targetSdkVersion : 28,
- compileSdkVersion: 28,
- buildToolsVersion: "28.0.3",
- versionCode : 22,
- versionName : "v1.1.3"
- ]
- depsVersion = [
- junitVersion : "4.12",
- appcompatV7Version : "28.0.0",
- stethoVersion : "1.5.0",
- fastjsonVersion : "1.2.39",
- xUtilsVersion : "2.6.14",
- okhttpVersion : "3.9.0",
- switchViewVersion : "1.0.2",
- smartRefreshLayoutVersion : '1.0.5',
- BaseRecyclerViewAdapterHelperVersion: '2.9.30',
- permissonVersion : '2.0.0-rc12',
- basePopupVersion : '2.1.5',
- smartTableVersion : '2.2.0'
- ]
- deps = [
- junit : 'junit:junit:' + depsVersion.junitVersion,
- appcompatV7 : 'com.android.support:appcompat-v7:' + depsVersion.appcompatV7Version,
- stetho : 'com.facebook.stetho:stetho:' + depsVersion.stethoVersion,
- fastjson : 'com.alibaba:fastjson:' + depsVersion.fastjsonVersion,
- xUtils : 'com.jiechic.library:xUtils:' + depsVersion.xUtilsVersion,
- okhttp : 'com.squareup.okhttp3:okhttp:' + depsVersion.okhttpVersion,
- switchView : 'com.github.luongvo:iOS-SwitchView:' + depsVersion.switchViewVersion,
- smartRefreshLayout : 'com.scwang.smartrefresh:SmartRefreshLayout:' + depsVersion.smartRefreshLayoutVersion,
- smartRefreshHeader : 'com.scwang.smartrefresh:SmartRefreshHeader:' + depsVersion.smartRefreshLayoutVersion,
- BaseRecyclerViewAdapterHelper: 'com.github.CymChad:BaseRecyclerViewAdapterHelper:' + depsVersion.BaseRecyclerViewAdapterHelperVersion,
- recyclerview : 'com.android.support:recyclerview-v7:' + depsVersion.appcompatV7Version,
- permisson : 'com.yanzhenjie:permission:' + depsVersion.permissonVersion,
- basePopup : 'com.github.razerdp:BasePopup:' + depsVersion.basePopupVersion,
- smartTable : 'com.github.huangyanbin:SmartTable:' + depsVersion.smartTableVersion
- ]
- }
|