| import androidx.build.Publish |
| |
| /* |
| * 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 |
| * |
| * 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("AndroidXPlugin") |
| id("com.android.application") |
| id("kotlin-android") |
| } |
| |
| android { |
| defaultConfig { |
| minSdkVersion 21 |
| targetSdkVersion 31 |
| versionCode 1 |
| versionName "1.0" |
| } |
| |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_8 |
| targetCompatibility JavaVersion.VERSION_1_8 |
| } |
| kotlinOptions { |
| jvmTarget = "1.8" |
| } |
| buildFeatures { |
| viewBinding true |
| } |
| |
| namespace "androidx.bluetooth.integration.testapp" |
| } |
| |
| dependencies { |
| implementation(libs.kotlinStdlib) |
| |
| implementation(project(":bluetooth:bluetooth")) |
| |
| // Removing temporarily because core-ktx:1.8.0 is using activity:1.1.0 instead of activity:1.4.0 |
| // implementation("androidx.core:core-ktx:1.8.0") |
| // implementation("androidx.appcompat:appcompat:1.4.2") |
| |
| implementation("androidx.activity:activity-ktx:1.4.0") |
| implementation("androidx.fragment:fragment-ktx:1.4.1") |
| |
| implementation(libs.constraintLayout) |
| |
| implementation("androidx.navigation:navigation-fragment-ktx:2.4.2") |
| implementation("androidx.navigation:navigation-ui-ktx:2.4.2") |
| } |