- Migrate dependencies to Version Catalog (libs.versions.toml)

- Update Kotlin to 2.3.20 and Jackson Core to 2.21.2
- Update Gradle Wrapper to 9.4.1
- Bump version code to 17 and version name to 1.7
- Remove unused `percentTranslationY` property from `FragmentLinearLayout`
- Clean up semicolons in `MainApplication.kt`
- Update `.gitignore` to include `gradle-daemon-jvm.properties`
This commit is contained in:
2026-03-24 13:07:06 +01:00
parent 112d4bdb62
commit bdd204d9de
7 changed files with 49 additions and 25 deletions
@@ -27,7 +27,7 @@ import com.michatec.store.utility.Utils
import com.michatec.store.utility.extension.android.*
import java.net.InetSocketAddress
import java.net.Proxy
import org.woheller69.freeDroidWarn.FreeDroidWarn;
import org.woheller69.freeDroidWarn.FreeDroidWarn
class MainApplication: Application() {
private fun PackageInfo.toInstalledItem(): InstalledItem {
@@ -43,7 +43,7 @@ class MainApplication: Application() {
override fun onCreate() {
super.onCreate()
FreeDroidWarn.showWarningOnUpgrade(this, BuildConfig.VERSION_CODE);
FreeDroidWarn.showWarningOnUpgrade(this, BuildConfig.VERSION_CODE)
val databaseUpdated = Database.init(this)
Preferences.init(this)
@@ -12,11 +12,4 @@ class FragmentLinearLayout: LinearLayout {
init {
fitsSystemWindows = true
}
@Suppress("unused")
var percentTranslationY: Float
get() = height.let { if (it > 0) translationY / it else 0f }
set(value) {
translationY = value * height
}
}