Files
AndroidJetpack/ComposeCalendar/sample/build.gradle.kts
T
2026-07-16 09:43:06 +08:00

61 lines
1.5 KiB
Kotlin

import org.ajoberstar.grgit.Grgit
plugins {
id(Android.ApplicationPluginId)
kotlin(Kotlin.AndroidPluginId)
id("common-android-plugin")
}
val commitsCount = Grgit.open(mapOf("dir" to rootDir)).log().size
android {
namespace = "io.github.boguszpawlowski.composecalendar.sample"
defaultConfig {
versionCode = commitsCount
versionName = "0.0.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
packaging {
resources {
excludes.addAll(listOf("META-INF/AL2.0", "META-INF/LGPL2.1"))
}
}
// compileOptions {
// isCoreLibraryDesugaringEnabled = true
// }
}
dependencies {
// coreLibraryDesugaring(Kotlin.DesugarJdkLibs)
// implementation(project(":library"))
implementation(project(":kotlinx-datetime"))
implementation("io.github.boguszpawlowski.composecalendar:composecalendar:1.3.0")
implementation(Material.Core)
implementation(AndroidX.AppCompat)
implementation(AndroidX.ComposeActivity)
implementation(Compose.Runtime)
implementation(Compose.Navigation)
implementation(Compose.Ui)
implementation(Compose.UiTooling)
implementation(Compose.Foundation)
implementation(Compose.FoundationLayout)
implementation(Compose.Material)
implementation(Timber.Core)
debugImplementation(Debug.LeakCanary)
debugImplementation(Hyperion.Core)
debugImplementation(Hyperion.Crash)
debugImplementation(Hyperion.GeigerCounter)
debugImplementation(Hyperion.Measurement)
debugImplementation(ComposeTest.Manifest)
androidTestImplementation(ComposeTest.Core)
}