forked from penguin86/luna-tracker
Compare commits
4 Commits
cached_not
...
e9b41b4e06
| Author | SHA1 | Date | |
|---|---|---|---|
| e9b41b4e06 | |||
| 464cbbe5f8 | |||
| 0bc2012691 | |||
| 7097cbaccf |
@@ -6,12 +6,12 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace = "it.danieleverducci.lunatracker"
|
||||
compileSdk = 34
|
||||
compileSdk = 36
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "it.danieleverducci.lunatracker"
|
||||
minSdk = 21
|
||||
targetSdk = 34
|
||||
targetSdk = 36
|
||||
versionCode = 7
|
||||
versionName = "0.9"
|
||||
|
||||
@@ -31,6 +31,12 @@ android {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
dependenciesInfo {
|
||||
// Disables dependency metadata when building APKs.
|
||||
includeInApk = false
|
||||
// Disables dependency metadata when building Android App Bundles.
|
||||
includeInBundle = false
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = "11"
|
||||
}
|
||||
@@ -40,7 +46,6 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation(libs.androidx.core.ktx)
|
||||
implementation(libs.androidx.lifecycle.runtime.ktx)
|
||||
implementation(libs.androidx.activity.compose)
|
||||
@@ -51,7 +56,7 @@ dependencies {
|
||||
implementation(libs.androidx.material3)
|
||||
implementation(libs.androidx.appcompat)
|
||||
implementation(libs.androidx.recyclerview)
|
||||
implementation("com.github.thegrizzlylabs:sardine-android:v0.9")
|
||||
implementation(libs.sardine.android)
|
||||
implementation(libs.material)
|
||||
testImplementation(libs.junit)
|
||||
androidTestImplementation(libs.androidx.junit)
|
||||
|
||||
@@ -325,7 +325,6 @@ class StatisticsActivity : AppCompatActivity() {
|
||||
dateTime.time = Date(0)
|
||||
dateTime.set(Calendar.YEAR, months / 12)
|
||||
dateTime.set(Calendar.MONTH, months % 12)
|
||||
//Calendar.MONTH_OF_YEAR?
|
||||
dateTime.set(Calendar.HOUR, 0)
|
||||
dateTime.set(Calendar.MINUTE, 0)
|
||||
dateTime.set(Calendar.SECOND, 0)
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
<style name="Theme.LunaTracker" parent="Theme.AppCompat.NoActionBar">
|
||||
<item name="colorAccent">@color/accent</item>
|
||||
<item name="android:textColor">@color/textColor</item>
|
||||
|
||||
<!-- make the screen not overlap with the system bars -->
|
||||
<item name="android:fitsSystemWindows">true</item>
|
||||
<item name="android:windowTranslucentStatus">true</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
</style>
|
||||
|
||||
<style name="OverflowMenuText">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[versions]
|
||||
agp = "8.12.0"
|
||||
agp = "8.13.0"
|
||||
kotlin = "2.0.0"
|
||||
coreKtx = "1.10.1"
|
||||
junit = "4.13.2"
|
||||
@@ -13,6 +13,7 @@ mpandroidchart = "v4.2.2"
|
||||
mpandroidchartVersion = "v3.1.0"
|
||||
recyclerview = "1.3.2"
|
||||
material = "1.12.0"
|
||||
sardineAndroid = "v0.9"
|
||||
|
||||
[libraries]
|
||||
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
|
||||
@@ -34,6 +35,7 @@ androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version
|
||||
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
||||
mpandroidchart = { module = "com.github.PhilJay:MPAndroidChart", version.ref = "mpandroidchart" }
|
||||
mpandroidchart-vv310 = { module = "com.github.PhilJay:MPAndroidChart", version.ref = "mpandroidchartVersion" }
|
||||
sardine-android = { module = "com.github.thegrizzlylabs:sardine-android", version.ref = "sardineAndroid" }
|
||||
|
||||
[plugins]
|
||||
android-application = { id = "com.android.application", version.ref = "agp" }
|
||||
|
||||
Reference in New Issue
Block a user