mirror of
https://github.com/uber/RIBs.git
synced 2026-06-16 12:54:31 +00:00
60 lines
1.7 KiB
Groovy
60 lines
1.7 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.daggerCompiler
|
|
annotationProcessor project(":libraries:rib-compiler-test")
|
|
implementation project(":libraries:rib-android")
|
|
implementation deps.androidx.appcompat
|
|
implementation deps.external.dagger
|
|
implementation deps.external.rxbinding
|
|
implementation deps.androidx.percent
|
|
compileOnly deps.apt.javax
|
|
testImplementation project(":libraries:rib-test")
|
|
}
|