• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright  2019 Google LLC
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17apply plugin: 'com.android.application'
18
19apply plugin: 'kotlin-android'
20
21apply plugin: 'kotlin-kapt'
22
23android {
24    compileSdkVersion 35
25
26    defaultConfig {
27        applicationId "com.mobileer.androidfxlab"
28        minSdkVersion 21
29        targetSdkVersion 35
30        versionCode 1
31        versionName "1.0"
32        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
33    }
34    buildTypes {
35        release {
36            minifyEnabled false
37            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
38        }
39    }
40    compileOptions {
41        sourceCompatibility = JavaVersion.VERSION_18
42        targetCompatibility = JavaVersion.VERSION_18
43    }
44    kotlinOptions {
45        jvmTarget = "18"
46    }
47    externalNativeBuild {
48        cmake {
49            path "./CMakeLists.txt"
50        }
51    }
52    dataBinding {
53        enabled = true
54    }
55    namespace 'com.mobileer.androidfxlab'
56}
57
58dependencies {
59    implementation fileTree(dir: 'libs', include: ['*.jar'])
60    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
61    implementation 'androidx.appcompat:appcompat:1.7.0'
62    implementation 'androidx.core:core-ktx:1.15.0'
63    implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
64    implementation 'androidx.recyclerview:recyclerview:1.4.0'
65    implementation 'com.google.android.material:material:1.12.0'
66    testImplementation 'junit:junit:4.13.2'
67    androidTestImplementation 'androidx.test:runner:1.6.2'
68    androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
69}
70