mirror of
https://github.com/uber/RIBs.git
synced 2026-06-16 12:54:31 +00:00
50 lines
1.4 KiB
Kotlin
50 lines
1.4 KiB
Kotlin
/*
|
|
* 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.
|
|
*/
|
|
import net.ltgt.gradle.errorprone.errorprone
|
|
|
|
plugins {
|
|
id("ribs.android.application.errorprone")
|
|
alias(libs.plugins.kotlin.kapt)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.uber.rib.tutorial1"
|
|
|
|
defaultConfig {
|
|
applicationId = "com.uber.tutorial2"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
ksp(libs.dagger.compiler)
|
|
kapt(project(":libraries:rib-compiler-test"))
|
|
implementation(project(":libraries:rib-android"))
|
|
implementation(libs.androidx.appcompat)
|
|
implementation(appLibs.percent)
|
|
implementation(libs.dagger.library)
|
|
implementation(libs.rxbinding)
|
|
compileOnly(libs.android.api)
|
|
compileOnly(appLibs.jsr250)
|
|
testImplementation(project(":libraries:rib-test"))
|
|
}
|
|
|
|
tasks.withType<JavaCompile>().configureEach {
|
|
// Disable error prone checks I don't want.
|
|
options.errorprone {
|
|
disable("CheckReturnValue", "AutoDispose")
|
|
}
|
|
}
|