You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nowinandroid/app/build.gradle.kts

62 lines
2.0 KiB

/*
* Copyright 2022 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
*
* https://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") version "8.0.0"
kotlin("android") version "1.8.21"
}
android {
defaultConfig {
applicationId = "com.google.samples.apps.nowinandroid"
versionCode = 5
versionName = "0.0.5"
compileSdk = 33
minSdk = 26
targetSdk = 33
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
packaging {
resources {
excludes.add("/META-INF/{AL2.0,LGPL2.1}")
}
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.7"
}
namespace = "com.google.samples.apps.nowinandroid"
}
dependencies {
implementation("androidx.core:core-ktx:1.10.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.compose.material3:material3-window-size-class:1.1.0")
implementation(platform("androidx.compose:compose-bom:2023.05.01"))
implementation("androidx.compose.material3:material3")
implementation("androidx.navigation:navigation-compose:2.5.3")
implementation("io.coil-kt:coil-compose:2.3.0")
androidTestImplementation("androidx.test.uiautomator:uiautomator:2.2.0")
androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.4.3")
}