blob: 48f330efbd99f06a15134d7f1b71365a91ad4bf4 [file] [log] [blame]
/*
* Copyright (C) 2024 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.
*/
plugins {
id 'com.android.application'
id 'kotlin-android'
}
android {
namespace "com.example.app"
compileSdkVersion libs.versions.latestCompileSdk.get().toInteger()
buildToolsVersion = libs.versions.buildToolsVersion.get()
defaultConfig {
minSdkVersion libs.versions.supportLibMinSdk.get()
}
lintOptions {
checkReleaseBuilds false
}
testFixtures.enable = true
}
kotlin {
jvmToolchain(17)
}
dependencies {
compileOnly project(":javaLib")
compileOnly project(":lib")
testFixturesApi 'com.google.truth:truth:0.44'
testFixturesImplementation "org.jetbrains.kotlin:kotlin-stdlib:${libs.versions.kotlinVersion.get()}"
testImplementation 'junit:junit:4.12'
testImplementation testFixtures(project(":javaLib"))
testImplementation testFixtures(project(":lib"))
androidTestImplementation testFixtures(project(":javaLib"))
androidTestImplementation testFixtures(project(":lib"))
}