Skip to content

Commit cc0c769

Browse files
authored
Merge pull request #31 from odaridavid/update-app-android-14
Update app android 14
2 parents 1006e48 + f04877b commit cc0c769

Some content is hidden

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

46 files changed

+690
-288
lines changed

.idea/AndroidProjectSystem.xml

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

.idea/compiler.xml

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

.idea/gradle.xml

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

.idea/kotlinc.xml

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

.idea/migrations.xml

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

.idea/misc.xml

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

.idea/runConfigurations.xml

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

app/build.gradle

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

app/build.gradle.kts

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
plugins {
2+
id("com.android.application")
3+
id("kotlin-android")
4+
id("com.mikepenz.aboutlibraries.plugin")
5+
id("com.google.firebase.crashlytics")
6+
id("com.google.gms.google-services")
7+
id("kotlin-parcelize")
8+
}
9+
10+
android {
11+
namespace = "com.github.odaridavid.designpatterns"
12+
compileSdk = 35
13+
14+
defaultConfig {
15+
val versionMajor = 1
16+
val versionMinor = 3
17+
val versionPatch = 1
18+
19+
applicationId = "com.github.odaridavid.designpatterns"
20+
minSdk = 21
21+
targetSdk = 35
22+
versionCode = versionMajor * 10000 + versionMinor * 100 + versionPatch
23+
versionName = "$versionMajor.$versionMinor.$versionPatch"
24+
25+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
26+
}
27+
28+
buildTypes {
29+
release {
30+
isMinifyEnabled = true
31+
isShrinkResources = true
32+
proguardFiles(
33+
getDefaultProguardFile("proguard-android-optimize.txt"),
34+
"proguard-rules.pro"
35+
)
36+
manifestPlaceholders["crashlyticsEnabled"] = true
37+
manifestPlaceholders["appIcon"] = "@mipmap/ic_launcher"
38+
manifestPlaceholders["appIconRound"] = "@mipmap/ic_launcher_round"
39+
}
40+
debug {
41+
applicationIdSuffix = ".debug"
42+
versionNameSuffix = "-debug"
43+
manifestPlaceholders["crashlyticsEnabled"] = false
44+
manifestPlaceholders["appIcon"] = "@mipmap/ic_debug_launcher"
45+
manifestPlaceholders["appIconRound"] = "@mipmap/ic_debug_launcher_round"
46+
}
47+
}
48+
49+
buildFeatures.viewBinding = true
50+
51+
kotlinOptions {
52+
jvmTarget = "1.8"
53+
}
54+
55+
compileOptions {
56+
sourceCompatibility = JavaVersion.VERSION_1_8
57+
targetCompatibility = JavaVersion.VERSION_1_8
58+
}
59+
}
60+
61+
dependencies {
62+
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.1.10")
63+
implementation("androidx.appcompat:appcompat:1.7.0")
64+
implementation("androidx.core:core-ktx:1.15.0")
65+
implementation("androidx.constraintlayout:constraintlayout:2.2.1")
66+
67+
// In-app updates
68+
implementation("com.google.android.play:app-update:2.1.0")
69+
implementation("com.google.android.play:app-update-ktx:2.1.0")
70+
implementation("com.google.android.play:review:2.0.2")
71+
implementation("com.google.android.play:review-ktx:2.0.2")
72+
73+
// Material Design
74+
implementation("com.google.android.material:material:1.12.0")
75+
76+
// Libraries used info
77+
implementation("com.mikepenz:aboutlibraries-core:11.6.3")
78+
79+
// Animations
80+
implementation("jp.wasabeef:recyclerview-animators:4.0.2")
81+
82+
// Analytics
83+
implementation("com.google.firebase:firebase-analytics:22.3.0")
84+
85+
// Crashlytics
86+
implementation("com.google.firebase:firebase-crashlytics:19.4.1")
87+
88+
// Preference
89+
implementation("androidx.preference:preference-ktx:1.2.1")
90+
91+
// Markdown Support
92+
implementation(project(":markdownview"))
93+
94+
// Unit testing
95+
implementation("androidx.legacy:legacy-support-v4:1.0.0")
96+
testImplementation("junit:junit:4.13.2")
97+
}

app/proguard-rules.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Add project specific ProGuard rules here.
22
# You can control the set of applied configuration files using the
3-
# proguardFiles setting in build.gradle.
3+
# proguardFiles setting in build.gradle.kts.
44
#
55
# For more details, see
66
# http://developer.android.com/guide/developing/tools/proguard.html

0 commit comments

Comments
 (0)