Files
James Barr cb51d73da2 Integrate Spotless into build (#415)
* Integrate Spotless in build

* Update CONTRIBUTING.md

* Move improperly placed copyright comments

* Update copyright indent

* Don't format test fixtures

* Run spotlessApply over the whole repo

* Remove checkstyle configs

* Run spotlessCheck on CI
2021-03-24 18:45:35 -07:00

67 lines
2.0 KiB
Groovy

/*
* Copyright (C) 2017. Uber Technologies
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
buildscript {
dependencies {
classpath deps.build.gradlePlugins.android
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion deps.build.compileSdkVersion
buildToolsVersion deps.build.buildToolsVersion
defaultConfig {
minSdkVersion deps.build.minSdkVersion
targetSdkVersion deps.build.targetSdkVersion
applicationId "com.uber.tutorial3"
versionCode 1
versionName "1.0"
}
// No need for lint. This is just a tutorial.
lintOptions {
abortOnError false
quiet true
}
compileOptions {
sourceCompatibility deps.build.javaVersion
targetCompatibility deps.build.javaVersion
}
}
dependencies {
annotationProcessor deps.apt.autoValue
annotationProcessor deps.apt.raveCompiler
annotationProcessor deps.apt.daggerCompiler
annotationProcessor project(":libraries:rib-compiler-test")
implementation project(":libraries:rib-android")
implementation project(":libraries:rib-workflow")
implementation deps.androidx.annotations
implementation deps.androidx.appcompat
implementation deps.external.dagger
implementation deps.external.rxbinding
implementation deps.uber.rave
implementation deps.androidx.percent
implementation deps.external.guavaAndroid
compileOnly deps.apt.javax
compileOnly deps.apt.autoValueAnnotations
testImplementation project(":libraries:rib-test")
}