61 lines
1.5 KiB
Groovy
61 lines
1.5 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.simonsickle.composedbarcodes"
|
|
minSdkVersion 26
|
|
targetSdkVersion 33
|
|
versionCode 2
|
|
versionName "1.0.3"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
}
|
|
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.4.3"
|
|
}
|
|
|
|
namespace "com.simonsickle.composedbarcodes"
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":composed-barcodes"))
|
|
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
implementation("com.google.android.material:material:1.8.0")
|
|
|
|
implementation("androidx.compose.runtime:runtime:1.3.3")
|
|
implementation("androidx.compose.ui:ui:1.3.3")
|
|
implementation("androidx.compose.foundation:foundation-layout:1.3.1")
|
|
implementation("androidx.compose.material:material:1.3.1")
|
|
implementation("androidx.compose.ui:ui-tooling:1.3.3")
|
|
|
|
// Nav components
|
|
implementation("androidx.navigation:navigation-compose:2.5.3")
|
|
}
|