Skip to content

Commit

Permalink
Update 2.6_r1
Browse files Browse the repository at this point in the history
  • Loading branch information
D4rK7355608 committed Aug 28, 2023
1 parent 4289988 commit 3923301
Show file tree
Hide file tree
Showing 11 changed files with 87 additions and 72 deletions.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/kotlinScripting.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 2.6_r1:
- Made various project structure enhancements for better readability and maintainability.
- Made various under-the-hood improvements for a better overall app experience.

# Version 2.5_r1:
- Made various under-the-hood improvements for a better overall app experience.

Expand Down
58 changes: 0 additions & 58 deletions app/build.gradle

This file was deleted.

63 changes: 63 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.archivesName
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.gms.google-services")
id("com.google.firebase.crashlytics")
}
android {
compileSdk = 34
namespace = "com.d4rk.musicsleeptimer.plus"
defaultConfig {
applicationId = "com.d4rk.musicsleeptimer.plus"
minSdk = 26
targetSdk = 34
versionCode = 25
versionName = "2.6_r1"
archivesName = "${applicationId}-v${versionName}"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
resourceConfigurations += listOf("en", "de", "es", "fr", "hi", "hu", "in", "it", "ja", "ro", "ru", "tr", "sv", "bg", "pl", "uk")
}
buildTypes {
getByName("release") {
multiDexEnabled = true
isMinifyEnabled = true
isShrinkResources = true
isDebuggable = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
getByName("debug") {
multiDexEnabled = true
isMinifyEnabled = true
isShrinkResources = true
isDebuggable = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
viewBinding = true
buildConfig = true
}
bundle {
storeArchive {
enable = true
}
}
}
dependencies {
implementation("com.google.firebase:firebase-crashlytics-ktx:18.4.0")
implementation("com.google.firebase:firebase-analytics-ktx:21.3.0")
implementation("com.google.firebase:firebase-perf:20.4.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.multidex:multidex:2.0.1")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class SleepTileService : TileService() {
}
updateTile()
} ?: Unit
@Suppress("DEPRECATION")
private fun requestNotificationsPermission() = Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS).apply {
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
putExtra(Settings.EXTRA_APP_PACKAGE, packageName)
Expand Down
10 changes: 0 additions & 10 deletions build.gradle

This file was deleted.

7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
plugins {
id("com.android.application") version "8.1.1" apply false
id("com.android.library") version "8.1.1" apply false
id("org.jetbrains.kotlin.android") version "1.9.10" apply false
id("com.google.gms.google-services") version "4.3.15" apply false
id("com.google.firebase.crashlytics") version "2.9.2" apply false
}
2 changes: 1 addition & 1 deletion settings.gradle → settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ dependencyResolutionManagement {
}
}
rootProject.name = "Music Sleep Timer Plus"
include ':app'
include(":app")

0 comments on commit 3923301

Please sign in to comment.