blob: d158007052e46756cf5a4e78e93d2485ea090182 [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"
plugins {
id("AndroidXPlugin")
id("com.android.application")
id("org.jetbrains.kotlin.android")
}
dependencies {
implementation(project(":lifecycle:lifecycle-runtime-ktx"))
implementation("androidx.activity:activity:1.2.0") {
exclude group: "androidx.lifecycle"
}
implementation(project(":lifecycle:lifecycle-viewmodel-savedstate")) {
because "Used by :activity:activity"
}
testImplementation(libs.junit)
testImplementation(libs.truth)
testImplementation(libs.kotlinCoroutinesAndroid)
testImplementation(libs.kotlinCoroutinesTest)
testImplementation(project(":lifecycle:lifecycle-runtime-testing"))
androidTestImplementation(project(":lifecycle:lifecycle-runtime-testing"))
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.kotlinCoroutinesTest)
androidTestImplementation(libs.kotlinCoroutinesAndroid)
androidTestImplementation(libs.testExtJunitKtx)
androidTestImplementation(libs.truth)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.espressoCore)
}
android {
sourceSets {
test.java.srcDirs += "src/test-common/java"
androidTest.java.srcDirs += "src/test-common/java"
}
namespace = "androidx.lifecycle.kotlintestapp"
}