forked from penguin86/luna-tracker
Compare commits
1 Commits
e9b41b4e06
...
cached_not
| Author | SHA1 | Date | |
|---|---|---|---|
| ce763be7e9 |
@@ -6,12 +6,12 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace = "it.danieleverducci.lunatracker"
|
||||
compileSdk = 36
|
||||
compileSdk = 34
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "it.danieleverducci.lunatracker"
|
||||
minSdk = 21
|
||||
targetSdk = 36
|
||||
targetSdk = 34
|
||||
versionCode = 7
|
||||
versionName = "0.9"
|
||||
|
||||
@@ -31,12 +31,6 @@ 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"
|
||||
}
|
||||
@@ -46,6 +40,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation(libs.androidx.core.ktx)
|
||||
implementation(libs.androidx.lifecycle.runtime.ktx)
|
||||
implementation(libs.androidx.activity.compose)
|
||||
@@ -56,7 +51,7 @@ dependencies {
|
||||
implementation(libs.androidx.material3)
|
||||
implementation(libs.androidx.appcompat)
|
||||
implementation(libs.androidx.recyclerview)
|
||||
implementation(libs.sardine.android)
|
||||
implementation("com.github.thegrizzlylabs:sardine-android:v0.9")
|
||||
implementation(libs.material)
|
||||
testImplementation(libs.junit)
|
||||
androidTestImplementation(libs.androidx.junit)
|
||||
|
||||
@@ -325,6 +325,7 @@ 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,11 +4,6 @@
|
||||
<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.13.0"
|
||||
agp = "8.12.0"
|
||||
kotlin = "2.0.0"
|
||||
coreKtx = "1.10.1"
|
||||
junit = "4.13.2"
|
||||
@@ -13,7 +13,6 @@ 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" }
|
||||
@@ -35,7 +34,6 @@ 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