Skip to content

Commit

Permalink
Refactor: Modernize project and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
D4rK7355608 committed Sep 2, 2024
1 parent b0c72ea commit 8d0dea2
Show file tree
Hide file tree
Showing 23 changed files with 132 additions and 12 deletions.
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: [ "bug", "triage me" ]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: checkboxes
attributes:
label: Is there a StackOverflow question about this issue?
description: Please search StackOverflow if an issue with an answer already exists for the bug you encountered.
options:
- label: I have searched StackOverflow
required: false
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant logcat output
description: Please copy and paste any relevant logcat output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our Code of Conduct
options:
- label: I agree to follow this project's Code of Conduct
required: true
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Feature request
description: File a feature request
title: "[FR]: "
labels: [ "enhancement", "triage me" ]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for this feature request.
options:
- label: I have searched the existing issues
required: true
- type: textarea
id: describe-problem
attributes:
label: Describe the problem
description: Is your feature request related to a problem? Please describe.
placeholder: I'm always frustrated when...
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution
description: Please describe the solution you'd like. A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
14 changes: 14 additions & 0 deletions .idea/appInsightsSettings.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.

17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Version 3.0.2:

- Modernized project structure
- Upgraded the Android Gradle Plugin
- Enhanced issue tracking with templates
- Updated dependencies

# Version 3.0.1:

- Updated the Android Gradle Plugin

# Version 3.0.0:

- Updated all project props to match the other projects
- Updated the README.md
- Small code reformat

# Version 2.6_r1:

- Made various project structure enhancements for better readability and maintainability.
Expand Down
9 changes: 3 additions & 6 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId = "com.d4rk.musicsleeptimer.plus"
minSdk = 26
targetSdk = 34
versionCode = 28
versionName = "3.0.1"
versionCode = 29
versionName = "3.0.2"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
resourceConfigurations += listOf(
"en",
Expand All @@ -31,7 +31,7 @@ android {
"sv",
"bg",
"pl",
"uk"
"uk",
)
}

Expand All @@ -41,7 +41,6 @@ android {
isMinifyEnabled = true
isShrinkResources = true
isDebuggable = false
versionNameSuffix = null
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
Expand All @@ -50,7 +49,6 @@ android {
debug {
multiDexEnabled = true
isDebuggable = true
versionNameSuffix = null
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
Expand All @@ -68,7 +66,6 @@ android {
}

buildFeatures {
viewBinding = true
buildConfig = true
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[versions]
agp = "8.5.1"
agp = "8.6.0"
appcompat = "1.7.0"
espressoCore = "3.6.1"
firebaseBom = "33.1.2"
firebaseBom = "33.2.0"
kotlin = "2.0.0"
google-firebase-crashlytics = "3.0.2"
google-services = "4.4.2"
junit = "4.13.2"
junitVersion = "1.2.1"
multidex = "2.0.1"
workRuntimeKtx = "2.9.0"
workRuntimeKtx = "2.9.1"

[libraries]
appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Jul 22 18:40:01 EEST 2024
#Mon Sep 02 23:36:22 EEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 8d0dea2

Please sign in to comment.