Skip to content

Commit

Permalink
Chore - Code Style (prolificinteractive#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin41500 committed Jul 27, 2018
1 parent ee6ea13 commit 86f8a1c
Show file tree
Hide file tree
Showing 80 changed files with 5,483 additions and 5,494 deletions.
34 changes: 17 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
task wrapper(type: Wrapper) {
//if you change this version you will need to run the 'gradlew wrapper' command twice from the command line to auto update the gradle cache
gradleVersion = "4.7"
//if you change this version you will need to run the 'gradlew wrapper' command twice from the command line to auto update the gradle cache
gradleVersion = "4.7"
}
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}

allprojects {
repositories {
google()
jcenter()
// Here for convience when testing new releases
// maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
repositories {
google()
jcenter()
// Here for convience when testing new releases
// maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}

task clean(type: Delete) {
delete rootProject.buildDir
delete rootProject.buildDir
}

apply from: rootProject.file('dependencies.gradle')
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

VERSION_NAME = 1.5.0
VERSION_CODE = 18
VERSION_NAME = 1.5.0
VERSION_CODE = 18
10 changes: 5 additions & 5 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionBase = GRADLE_USER_HOME
distributionPath = wrapper/dists
distributionUrl = https\://services.gradle.org/distributions/gradle-4.7-bin.zip
zipStoreBase = GRADLE_USER_HOME
zipStorePath = wrapper/dists
72 changes: 36 additions & 36 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,55 @@ apply plugin: 'maven'
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.compileSdkVersion
compileSdkVersion rootProject.ext.compileSdkVersion

defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion

versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
}
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
}

lintOptions {
abortOnError false
}
lintOptions {
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

dependencies {
implementation rootProject.ext.threeTenAbp
implementation rootProject.ext.supportV4
implementation rootProject.ext.supportAppCompat
implementation rootProject.ext.supportAnnotations
implementation rootProject.ext.threeTenAbp
implementation rootProject.ext.supportV4
implementation rootProject.ext.supportAppCompat
implementation rootProject.ext.supportAnnotations

rootProject.ext.testDep.each { testImplementation it }
rootProject.ext.androidTestDep.each { androidTestImplementation it }
rootProject.ext.testDep.each { testImplementation it }
rootProject.ext.androidTestDep.each { androidTestImplementation it }
}

tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}

android.libraryVariants.all { variant ->
task("generate${variant.name.capitalize()}Javadoc", type: Javadoc) {
title "Material CalendarView ${version}"
description "Generates Javadoc for $variant.name."
source = variant.javaCompiler.source
doFirst {
classpath = files(variant.javaCompiler.classpath.files, project.android.getBootClasspath())
}
exclude '**/BuildConfig.java'
exclude '**/R.java'
options {
links "http://docs.oracle.com/javase/7/docs/api/"
linksOffline "http://d.android.com/reference", "${android.sdkDirectory}/docs/reference"
}
task("generate${variant.name.capitalize()}Javadoc", type: Javadoc) {
title "Material CalendarView ${version}"
description "Generates Javadoc for $variant.name."
source = variant.javaCompiler.source
doFirst {
classpath = files(variant.javaCompiler.classpath.files, project.android.getBootClasspath())
}
exclude '**/BuildConfig.java'
exclude '**/R.java'
options {
links "http://docs.oracle.com/javase/7/docs/api/"
linksOffline "http://d.android.com/reference", "${android.sdkDirectory}/docs/reference"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
import android.animation.Animator;

class AnimatorListener implements Animator.AnimatorListener {
@Override
public void onAnimationStart(Animator animator) {
}
@Override
public void onAnimationStart(Animator animator) {
}

@Override
public void onAnimationEnd(Animator animator) {
}
@Override
public void onAnimationEnd(Animator animator) {
}

@Override
public void onAnimationCancel(Animator animator) {
}
@Override
public void onAnimationCancel(Animator animator) {
}

@Override
public void onAnimationRepeat(Animator animator) {
}
@Override
public void onAnimationRepeat(Animator animator) {
}
}
Loading

0 comments on commit 86f8a1c

Please sign in to comment.