68 lines
1.6 KiB
Text
68 lines
1.6 KiB
Text
|
/*
|
||
|
* Copyright 2023 Signal Messenger, LLC
|
||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||
|
*/
|
||
|
|
||
|
plugins {
|
||
|
id("signal-sample-app")
|
||
|
}
|
||
|
|
||
|
val signalBuildToolsVersion: String by extra
|
||
|
val signalCompileSdkVersion: String by extra
|
||
|
val signalTargetSdkVersion: Int by extra
|
||
|
val signalMinSdkVersion: Int by extra
|
||
|
val signalJavaVersion: JavaVersion by extra
|
||
|
|
||
|
android {
|
||
|
namespace = "org.thoughtcrime.video.app"
|
||
|
compileSdkVersion = signalCompileSdkVersion
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId = "org.thoughtcrime.video.app"
|
||
|
minSdk = signalMinSdkVersion
|
||
|
targetSdk = signalTargetSdkVersion
|
||
|
versionCode = 1
|
||
|
versionName = "1.0"
|
||
|
|
||
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||
|
vectorDrawables {
|
||
|
useSupportLibrary = true
|
||
|
}
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
isMinifyEnabled = false
|
||
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility = signalJavaVersion
|
||
|
targetCompatibility = signalJavaVersion
|
||
|
}
|
||
|
kotlinOptions {
|
||
|
jvmTarget = "11"
|
||
|
}
|
||
|
buildFeatures {
|
||
|
compose = true
|
||
|
}
|
||
|
composeOptions {
|
||
|
kotlinCompilerExtensionVersion = "1.4.3"
|
||
|
}
|
||
|
packaging {
|
||
|
resources {
|
||
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(libs.androidx.fragment.ktx)
|
||
|
implementation(libs.androidx.activity.compose)
|
||
|
implementation(platform(libs.androidx.compose.bom))
|
||
|
implementation(libs.androidx.compose.material3)
|
||
|
implementation(libs.bundles.media3)
|
||
|
debugImplementation(libs.androidx.compose.ui.tooling.core)
|
||
|
debugImplementation(libs.androidx.compose.ui.test.manifest)
|
||
|
}
|