Skip to content

Commit c163e71

Browse files
committed
Fix Issue 5
1 parent 2a34ab3 commit c163e71

File tree

123 files changed

+1545
-1420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+1545
-1420
lines changed

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deploymentTargetDropDown.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,7 @@ Go to [Releases](https://github.com/VladShurakov/JetNotesApp/releases) to downlo
3434
- DataBase: Room
3535

3636
## Contribute
37-
**Want to contribute?** See **[CONTRIBUTING.md](/CONTRIBUTING.md)**
38-
39-
## Contributors Wall
40-
41-
<a href="https://github.com/VladShurakov/JetNotesApp/graphs/contributors">
42-
<img src="https://contrib.rocks/image?repo=VladShurakov/JetNotesApp" />
43-
</a>
37+
See **[CONTRIBUTING.md](/CONTRIBUTING.md)** before contributing
4438

4539
## :page_facing_up: License
4640

app/build.gradle.kts

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,26 @@ plugins {
66
}
77

88
android {
9-
namespace = "com.example.jetnotesapp"
9+
namespace = "com.vladshurakov.jetnotesapp"
1010
compileSdk = 34
1111

1212
defaultConfig {
13-
applicationId = "com.example.jetnotesapp"
13+
applicationId = "com.vladshurakov.jetnotesapp"
1414
minSdk = 26
1515
targetSdk = 34
16-
versionCode = 2
17-
versionName = "1.1.1"
16+
versionCode = 3
17+
versionName = "1.1.0"
18+
resourceConfigurations += listOf("en")
1819

19-
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2020
vectorDrawables {
2121
useSupportLibrary = true
2222
}
2323
}
2424

2525
buildTypes {
2626
release {
27-
isMinifyEnabled = false
27+
isMinifyEnabled = true
28+
isShrinkResources = true
2829
proguardFiles(
2930
getDefaultProguardFile("proguard-android-optimize.txt"),
3031
"proguard-rules.pro"
@@ -35,20 +36,10 @@ android {
3536
sourceCompatibility = JavaVersion.VERSION_17
3637
targetCompatibility = JavaVersion.VERSION_17
3738
}
38-
kotlinOptions {
39-
jvmTarget = "17"
40-
}
41-
buildFeatures {
42-
compose = true
43-
}
44-
composeOptions {
45-
kotlinCompilerExtensionVersion = "1.5.3"
46-
}
47-
packaging {
48-
resources {
49-
excludes += "/META-INF/{AL2.0,LGPL2.1}"
50-
}
51-
}
39+
kotlinOptions { jvmTarget = "17" }
40+
buildFeatures { compose = true }
41+
composeOptions { kotlinCompilerExtensionVersion = "1.5.3" }
42+
packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" } }
5243
buildToolsVersion = "34.0.0"
5344
}
5445

@@ -82,17 +73,11 @@ dependencies {
8273

8374
implementation("androidx.core:core-ktx:1.12.0")
8475
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
85-
implementation("androidx.activity:activity-compose:1.8.0")
76+
implementation("androidx.activity:activity-compose:1.8.1")
8677
implementation(platform("androidx.compose:compose-bom:2023.10.01"))
8778
implementation("androidx.compose.ui:ui:1.5.4")
8879
implementation("androidx.compose.ui:ui-graphics:1.5.4")
8980
implementation("androidx.compose.ui:ui-tooling-preview:1.5.4")
9081
implementation("androidx.compose.material3:material3:1.1.2")
91-
testImplementation("junit:junit:4.13.2")
92-
androidTestImplementation("androidx.test.ext:junit:1.1.5")
93-
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
9482
androidTestImplementation(platform("androidx.compose:compose-bom:2023.10.01"))
95-
androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.5.4")
96-
debugImplementation("androidx.compose.ui:ui-tooling:1.5.4")
97-
debugImplementation("androidx.compose.ui:ui-test-manifest:1.5.4")
9883
}

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
android:theme="@style/Theme.Notes"
1414
tools:targetApi="33">
1515
<activity
16-
android:name=".ui.screens.MainActivity"
16+
android:name=".MainActivity"
1717
android:windowSoftInputMode="adjustResize"
1818
android:exported="true"
1919
android:theme="@style/Theme.Notes"

app/src/main/java/com/example/jetnotesapp/data/database/NoteDao.kt

Lines changed: 0 additions & 44 deletions
This file was deleted.

app/src/main/java/com/example/jetnotesapp/data/database/models/NoteEntity.kt

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/src/main/java/com/example/jetnotesapp/data/repository/NoteRepositoryImpl.kt

Lines changed: 0 additions & 66 deletions
This file was deleted.

app/src/main/java/com/example/jetnotesapp/data/repository/SettingsRepositoryImpl.kt

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)