12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- // ext.kotlin_version = '1.2.30'
- repositories {
- google()
- jcenter()
- maven {
- url 'https://maven.google.com/'
- name 'Google'
- }
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.1.3'
- classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
- classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
- // classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- repositories {
- google()
- jcenter()
- maven {
- url 'https://maven.google.com/'
- name 'Google'
- }
- maven { url "https://jitpack.io" }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
- ext {
- android = [
- minSdkVersion : 14,
- targetSdkVersion : 27,
- compileSdkVersion: 27,
- buildToolsVersion: "27.0.3",
- versionCode : 1,
- versionName : "v1.0"
- ]
- depsVersion = [
- junitVersion : "4.12",
- appcompatV7Version : "26.1.0",
- stethoVersion : "1.5.0",
- fastjsonVersion : "1.2.39",
- xUtilsVersion : "2.6.14",
- okhttpVersion : "3.9.0",
- smartRefreshLayoutVersion : '1.0.5',
- BaseRecyclerViewAdapterHelperVersion: '2.9.30'
- ]
- 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,
- smartRefreshLayout : 'com.scwang.smartrefresh:SmartRefreshLayout:' + depsVersion.smartRefreshLayoutVersion,
- smartRefreshHeader : 'com.scwang.smartrefresh:SmartRefreshHeader:' + depsVersion.smartRefreshLayoutVersion,
- BaseRecyclerViewAdapterHelper: 'com.github.CymChad:BaseRecyclerViewAdapterHelper:' + depsVersion.BaseRecyclerViewAdapterHelperVersion
- ]
- }
|