Skip to content

Commit c495659

Browse files
committed
Fix gradle.properties for AndroidX configuration
- Add gradle.properties back to repository with essential Android configuration - Include android.useAndroidX=true to fix workflow build failure - Keep gradle.properties.local in .gitignore for local overrides - Ensure all AndroidX dependencies work properly
1 parent 8c2a824 commit c495659

2 files changed

Lines changed: 53 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ build/
2626

2727
# Local configuration files (keep local only)
2828
local.properties
29-
gradle.properties
3029
idea.md
3130
PROJECT_SUMMARY.md
3231

32+
# Local gradle.properties overrides (create gradle.properties.local for local overrides)
33+
gradle.properties.local
34+
3335
# IDE and development files
3436
.idea/
3537
*.iml

gradle.properties

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Project-wide Gradle settings.
2+
# IDE (e.g. Android Studio) users:
3+
# Gradle settings configured through the IDE *will override*
4+
# any settings specified in this file.
5+
# For more details on how to configure your build environment visit
6+
# http://www.gradle.org/docs/current/userguide/build_environment.html
7+
8+
# Specifies the JVM arguments used for the daemon process.
9+
# The setting is particularly useful for tweaking memory settings.
10+
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
11+
12+
# When configured, Gradle will run in incubating parallel mode.
13+
# This option should only be used with decoupled projects. More details, visit
14+
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
15+
org.gradle.parallel=true
16+
17+
# AndroidX package structure to make it clearer which packages are bundled with the
18+
# Android operating system, and which are packaged with your app's APK
19+
# https://developer.android.com/topic/libraries/support-library/androidx-rn
20+
android.useAndroidX=true
21+
22+
# Kotlin code style for this project: "official" or "obsolete":
23+
kotlin.code.style=official
24+
25+
# Enables namespacing of each library's R class so that its R class includes only the
26+
# resources declared in the library itself and none from the library's dependencies,
27+
# thereby reducing the size of the R class for that library
28+
android.nonTransitiveRClass=true
29+
30+
# Enable Gradle configuration cache
31+
org.gradle.configuration-cache=true
32+
33+
# Enable Gradle build cache
34+
org.gradle.caching=true
35+
36+
# Library version for JitPack publishing
37+
VERSION_NAME=1.0.1
38+
POM_ARTIFACT_ID=debugdrawer
39+
POM_NAME=Android Debug Drawer
40+
POM_DESCRIPTION=A comprehensive, production-ready debug drawer for Android apps
41+
POM_URL=https://github.com/mabualzait/Android-Debug-Drawer
42+
POM_SCM_URL=https://github.com/mabualzait/Android-Debug-Drawer
43+
POM_SCM_CONNECTION=scm:git:git://github.com/mabualzait/Android-Debug-Drawer.git
44+
POM_SCM_DEV_CONNECTION=scm:git:ssh://github.com/mabualzait/Android-Debug-Drawer.git
45+
POM_LICENCE_NAME=MIT
46+
POM_LICENCE_URL=https://opensource.org/licenses/MIT
47+
POM_LICENCE_DIST=repo
48+
POM_DEVELOPER_ID=abualzait
49+
POM_DEVELOPER_NAME=Malik Abualzait
50+
POM_DEVELOPER_URL=https://github.com/mabualzait

0 commit comments

Comments
 (0)