/* * Copyright 2022 usuiat * * 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 { alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) } android { namespace 'net.engawapg.app.zoomable' compileSdk 34 defaultConfig { applicationId "net.engawapg.app.zoomable" minSdk 21 targetSdk 34 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary true } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion libs.versions.composeCompiler.get() } packagingOptions { resources { excludes += '/META-INF/{AL2.0,LGPL2.1}' } } } dependencies { implementation libs.compose.ui implementation libs.compose.ui.tooling.preview implementation libs.compose.material3 debugImplementation libs.compose.ui.tooling debugImplementation libs.compose.ui.test.manifest implementation project(path: ':zoomable') implementation libs.androidx.core implementation libs.androidx.lifecycle implementation libs.androidx.activity testImplementation libs.junit androidTestImplementation libs.androidx.test.ext androidTestImplementation libs.androidx.test.espresso implementation libs.accompanist.pager implementation libs.accompanist.pager.indicators implementation libs.coil.compose }