Score
0
Watch 21 Star 52 Fork 21

dkzwm / SmoothRefreshLayoutAndroidMIT

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
build.gradle 2.92 KB
Copy Edit Web IDE Raw Blame History
dkzwm authored 2020-10-30 09:53 . Fixes #120
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
plugins {
id "com.diffplug.gradle.spotless" version "3.25.0"
}
allprojects {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://dl.bintray.com/dkzwm/maven-wmm' }
google()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs.add('-Xbootclasspath/p:core/libs/classes.jar')
}
}
}
subprojects {
if (it.name != 'app') {
apply plugin: 'com.diffplug.gradle.spotless'
spotless {
java {
target fileTree('.') {
include '**/*.java'
exclude '**/MaterialProgressDrawable.java'
}
googleJavaFormat('1.7').aosp()
licenseHeaderFile project.rootProject.file('spotless/copyright.java')
}
}
} else {
apply plugin: 'com.diffplug.gradle.spotless'
spotless {
java {
target '**/*.java'
googleJavaFormat('1.7').aosp()
}
}
}
}
ext {
android = [
compileSdkVersion: 28,
buildToolsVersion: "29.0.3",
minSdkVersion : 14,
targetSdkVersion : 29,
versionCode : 74,
versionName : "1.7.1.5.androidx"
]
libs = [
recyclerview: "androidx.recyclerview:recyclerview:1.1.0-beta04",
viewpager:"androidx.viewpager:viewpager:1.0.0",
design: "com.google.android.material:material:1.1.0-beta01",
appcompatV7: "androidx.appcompat:appcompat:1.1.0",
interpolator: "androidx.interpolator:interpolator:1.0.0",
annotation: "androidx.annotation:annotation:1.1.0",
dynamicanimation: "androidx.dynamicanimation:dynamicanimation:1.1.0-alpha03",
]
bintray = [
siteUrl : 'https://github.com/dkzwm/SmoothRefreshLayout',
gitUrl : 'https://github.com/dkzwm/SmoothRefreshLayout.git',
groupId : "me.dkzwm.widget.srl",
libVersion : android.versionName,
developerId : "dkzwm",
developerName : "Zhang Weiming",
developerEmail: "aidkzwm@gmail.com",
licenseName : "MIT License",
licenseUrl : "https://opensource.org/licenses/MIT",
]
allLicenses = ['MIT']
}

Comment ( 0 )

Sign in for post a comment