[go: nahoru, domu]

blob: 07a47cbdc70b6f154f96d817638e24c11cf49843 [file] [log] [blame]
/*
* Copyright (C) 2019 The Android Open Source Project
*
* 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.
*/
// TO debug processor, run:
//./gradlew :r:in:k:clean :r:in:k:cC --no-daemon
// -Dorg.gradle.debug=true
// -Dkotlin.compiler.execution.strategy="in-process"
import static androidx.build.dependencies.DependenciesKt.*
plugins {
id("AndroidXPlugin")
id("com.android.application")
id("org.jetbrains.kotlin.android")
}
dependencies {
implementation(project(":lifecycle:lifecycle-runtime-ktx"))
implementation(project(":activity:activity"))
testImplementation(JUNIT)
testImplementation(TRUTH)
testImplementation(KOTLIN_COROUTINES)
testImplementation(KOTLIN_COROUTINES_TEST)
androidTestImplementation(KOTLIN_COROUTINES)
androidTestImplementation(ANDROIDX_TEST_EXT_KTX)
androidTestImplementation(TRUTH)
androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
}
android {
kotlinOptions {
jvmTarget = '1.8' // necessary to use espresso kotlin extensions
}
sourceSets {
test.java.srcDirs += 'src/test-common/java'
androidTest.java.srcDirs += 'src/test-common/java'
}
}