Skip to content

Commit 44fdc2d

Browse files
committed
Merge branch 'main' into shizuku-integration
# Conflicts: # core/data/src/androidMain/kotlin/zed/rainxch/core/data/di/PlatformModule.android.kt # core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/ThemesRepositoryImpl.kt # core/data/src/jvmMain/kotlin/zed/rainxch/core/data/di/PlatformModule.jvm.kt # core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/repository/ThemesRepository.kt # core/presentation/src/commonMain/composeResources/values/strings.xml # feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/ProfileAction.kt # feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/ProfileState.kt # feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/ProfileViewModel.kt
2 parents 35fc40f + ba8e27f commit 44fdc2d

415 files changed

Lines changed: 11737 additions & 10571 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
root = true
2+
3+
[*.{kt,kts}]
4+
ktlint_standard_filename = disabled
5+
ktlint_standard_no-wildcard-imports = disabled
6+
ktlint_function_naming_ignore_when_annotated_with = Composable

README.md

Lines changed: 42 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22
</br>
3-
<img src="./composeApp/src/commonMain/composeResources/drawable/app-icon.png" width="200" />
3+
<img src="media-resources/app_icon.png" width="200" />
44

55
</div>
66

@@ -13,26 +13,27 @@
1313
</br>
1414

1515
<p align="center">
16-
<img alt="API" src="https://img.shields.io/badge/Api%2024+-50f270?logo=android&logoColor=black&style=for-the-badge"/></a>
17-
<img alt="Kotlin" src="https://img.shields.io/badge/Kotlin-Multiplatform-a503fc?logo=kotlin&logoColor=white&style=for-the-badge"/></a>
18-
<img alt="Compose Multiplatform" src="https://img.shields.io/static/v1?style=for-the-badge&message=Compose+Multiplatform&color=4285F4&logo=Jetpack+Compose&logoColor=FFFFFF&label="/></a>
19-
<img alt="material" src="https://custom-icon-badges.demolab.com/badge/material%20you-lightblue?style=for-the-badge&logoColor=333&logo=material-you"/></a>
20-
</br>
21-
</br>
16+
<img alt="API" src="https://img.shields.io/badge/Api%2024+-50f270?logo=android&logoColor=black&style=for-the-badge"/>
17+
<img alt="Kotlin" src="https://img.shields.io/badge/Kotlin-Multiplatform-a503fc?logo=kotlin&logoColor=white&style=for-the-badge"/>
18+
<img alt="Compose Multiplatform" src="https://img.shields.io/static/v1?style=for-the-badge&message=Compose+Multiplatform&color=4285F4&logo=Jetpack+Compose&logoColor=FFFFFF&label="/>
19+
<img alt="material" src="https://custom-icon-badges.demolab.com/badge/material%20you-lightblue?style=for-the-badge&logoColor=333&logo=material-you"/>
20+
21+
</br>
22+
</br>
2223

23-
<img src="https://img.shields.io/github/downloads/rainxchzed/GitHub-Store/total?color=aeff4d&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHRpdGxlPmRvd25sb2FkPC90aXRsZT48cGF0aCBkPSJNNSwyMEgxOVYxOEg1TTE5LDlIMTVWM0g5VjlINUwxMiwxNkwxOSw5WiIgZmlsbD0id2hpdGUiIC8+PC9zdmc+&label=Downloads&labelColor=4b731a"/>
24+
<img src="https://img.shields.io/github/downloads/OpenHub-Store/GitHub-Store/total?color=aeff4d&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHRpdGxlPmRvd25sb2FkPC90aXRsZT48cGF0aCBkPSJNNSwyMEgxOVYxOEg1TTE5LDlIMTVWM0g5VjlINUwxMiwxNkwxOSw5WiIgZmlsbD0id2hpdGUiIC8+PC9zdmc+&label=Downloads&labelColor=4b731a"/>
2425

25-
<a href="https://github.com/rainxchzed/Github-Store/stargazers">
26-
<img src="https://img.shields.io/github/stars/rainxchzed/Github-Store?color=ffff00&style=for-the-badge&labelColor=a1a116&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHRpdGxlPnN0YXI8L3RpdGxlPjxwYXRoIGQ9Ik0xMiwxNy4yN0wxOC4xOCwyMUwxNi41NCwxMy45N0wyMiw5LjI0TDE0LjgxLDguNjJMMTIsMkw5LjE5LDguNjJMMiw5LjI0TDcuNDUsMTMuOTdMNS44MiwyMUwxMiwxNy4yN1oiIGZpbGw9IndoaXRlIiAvPjwvc3ZnPg=="/>
26+
<a href="https://github.com/OpenHub-Store/GitHub-Store/stargazers">
27+
<img src="https://img.shields.io/github/stars/OpenHub-Store/GitHub-Store?color=ffff00&style=for-the-badge&labelColor=a1a116&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHRpdGxlPnN0YXI8L3RpdGxlPjxwYXRoIGQ9Ik0xMiwxNy4yN0wxOC4xOCwyMUwxNi41NCwxMy45N0wyMiw5LjI0TDE0LjgxLDguNjJMMTIsMkw5LjE5LDguNjJMMiw5LjI0TDcuNDUsMTMuOTdMNS44MiwyMUwxMiwxNy4yN1oiIGZpbGw9IndoaXRlIiAvPjwvc3ZnPg=="/>
2728
</a>
2829

2930
<img src="https://img.shields.io/badge/65K+-Users-8ce2ff?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHRpdGxlPmFjY291bnQtZ3JvdXA8L3RpdGxlPjxwYXRoIGQ9Ik0xMiwxMi43NUM3LDEyLjc1IDMsMTMuMzUgMywxNi4yNVYxOEgyMVYxNi4yNUMyMSwxMy4zNSAxNywxMi43NSAxMiwxMi43NU0xNyw3QTE3LDE3IDAgMCwxIDE3LDdNMjEsMTYuMjVWMThIMjRWMTYuMjVDMjQsMTQuNDMgMjEuNSwxMy44NyAxOSwxMy41QzIwLjEyLDE0LjEgMjEsMTUgMjEsMTYuMjVNMiw3QTIsMiAwIDAsMSA0LDVIMjBBMiwyIDAgMCwxIDIyLDdBMiwyIDAgMCwxIDIwLDlINEEyLDIgMCAwLDEgMiw3TTEyLDEwQTMsMyAwIDAsMSA5LDdBMywzIDAgMCwxIDEyLDRBMywzIDAgMCwxIDE1LDdBMywzIDAgMCwxIDEyLDEwWiIgZmlsbD0id2hpdGUiIC8+PC9zdmc+&labelColor=0782ab"/>
3031

3132
</br>
3233
</br>
3334

34-
<a href="https://github.com/rainxchzed/Github-Store/releases/latest">
35-
<img src="https://img.shields.io/github/v/release/rainxchzed/Github-Store?color=a1168e&include_prereleases&logo=github&style=for-the-badge&labelColor=700f63"/>
35+
<a href="https://github.com/OpenHub-Store/GitHub-Store/releases/latest">
36+
<img src="https://img.shields.io/github/v/release/OpenHub-Store/GitHub-Store?color=a1168e&include_prereleases&logo=github&style=for-the-badge&labelColor=700f63"/>
3637
</a>
3738

3839
<a href="https://f-droid.org/packages/zed.rainxch.githubstore">
@@ -46,8 +47,8 @@
4647
<p align="center">
4748
<a href="https://trendshift.io/repositories/22313" target="_blank"><img src="https://trendshift.io/api/badge/repositories/22313" alt="OpenHub-Store%2FGitHub-Store | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
4849

49-
<a href="https://hellogithub.com/en/repository/rainxchzed/Github-Store" target="_blank">
50-
<img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=rainxchzed%2FGithub-Store&claim_uid=&theme=dark" alt="Featured|HelloGitHub" style="width: 250px; height: 54px;" width="250" height="54" />
50+
<a href="https://hellogithub.com/en/repository/OpenHub-Store/GitHub-Store" target="_blank">
51+
<img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=OpenHub-Store%2FGitHub-Store&claim_uid=&theme=dark" alt="Featured|HelloGitHub" style="width: 250px; height: 54px;" width="250" height="54" />
5152
</a>
5253
</p>
5354

@@ -68,18 +69,18 @@ Built with Kotlin Multiplatform and Compose Multiplatform for Android and Deskto
6869
6970
<p align="middle">
7071
<img src="media-resources/banner.jpeg" width="99%" />
71-
<img src="media-resources/01.jpg" width="18%" />
72-
<img src="media-resources/02.jpg" width="18%" />
73-
<img src="media-resources/03.jpg" width="18%" />
74-
<img src="media-resources/04.jpg" width="18%" />
75-
<img src="media-resources/05.jpg" width="18%" />
72+
<img src="media-resources/screenshots/mobile/01.jpg" width="18%" />
73+
<img src="media-resources/screenshots/mobile/02.jpg" width="18%" />
74+
<img src="media-resources/screenshots/mobile/03.jpg" width="18%" />
75+
<img src="media-resources/screenshots/mobile/04.jpg" width="18%" />
76+
<img src="media-resources/screenshots/mobile/05.jpg" width="18%" />
7677
</p>
7778

7879
<div align="center">
7980

8081
# 📔 Wiki & Resources
8182

82-
Check out GitHub Store [Wiki](https://github.com/rainxchzed/Github-Store/wiki) for FAQ and useful information
83+
Check out GitHub Store [Wiki](https://github.com/OpenHub-Store/GitHub-Store/wiki) for FAQ and useful information
8384

8485
🌐 **Website:** [github-store.org](https://github-store.org)
8586
💬 **Discord:** [Join the community](https://discord.gg/x9Cvh2Z9qS)
@@ -101,27 +102,28 @@ GitHub® is a registered trademark of GitHub, Inc.
101102

102103
---
103104

104-
<div align="center">
105+
<p align="center">
105106

106107
# 🔃 Download
107-
108-
</div>
108+
</p>
109109

110110
<p align="center">
111-
<a href="https://github.com/rainxchzed/Github-Store/releases">
112-
<img src="https://i.ibb.co/q0mdc4Z/get-it-on-github.png" height="80"/>
111+
<a href="https://github.com/OpenHub-Store/GitHub-Store/releases">
112+
<img src="https://i.ibb.co/q0mdc4Z/get-it-on-github.png" height="70"/>
113113
</a>
114+
114115
<a href="https://f-droid.org/en/packages/zed.rainxch.githubstore/">
115116
<img src="https://f-droid.org/badge/get-it-on.png" height="80"/>
116117
</a>
117-
<a href="https://apps.obtainium.imranr.dev/redirect.html?r=obtainium://add/https://github.com/rainxchzed/Github-Store/">
118-
<img src="https://raw.githubusercontent.com/ImranR98/Obtainium/main/assets/graphics/badge_obtainium.png" height="60" alt="Get it on Obtainium">
119-
</a>
120118
</p>
121119

122120
<p align="center">
123-
<a href="https://discord.gg/x9Cvh2Z9qS">
124-
<img src="https://img.shields.io/badge/Discord-Join%20Community-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Join Discord">
121+
<a href="https://apps.obtainium.imranr.dev/redirect.html?r=obtainium://add/https://github.com/OpenHub-Store/GitHub-Store/">
122+
<img src="https://raw.githubusercontent.com/ImranR98/Obtainium/main/assets/graphics/badge_obtainium.png" height="60" alt="Get it on Obtainium">
123+
</a>
124+
125+
<a href="https://github-store.org/app?repo=OpenHub-Store/GitHub-Store">
126+
<img src="media-resources/ghs_download_badge.png" alt="Get it on GitHub Store" height="64">
125127
</a>
126128
</p>
127129

@@ -130,20 +132,18 @@ GitHub® is a registered trademark of GitHub, Inc.
130132
131133
---
132134

133-
<div align="center">
135+
<p align="center">
134136

135137
# 🏆 Featured In
136-
137-
</div>
138-
138+
</p>
139139
<p align="center">
140140
<a href="https://www.youtube.com/@howtomen">
141141
<img src="https://img.shields.io/badge/HowToMen-red?style=for-the-badge&logo=youtube&logoColor=white" alt="Featured by HowToMen">
142142
</a>
143143
</br>
144144
<strong>HowToMen:</strong> <a href="https://www.youtube.com/watch?v=7favc9MDedQ">Top 20 Best Android Apps 2026</a> | <a href="https://www.youtube.com/watch?v=VR-MEwPDw4k">Top 12 App Stores that are Better than Google Play Store </a>
145145
</br>
146-
<strong>HelloGitHub:</strong> <a href="https://hellogithub.com/en/repository/rainxchzed/Github-Store">Featured Project</a>
146+
<strong>HelloGitHub:</strong> <a href="https://hellogithub.com/en/repository/OpenHub-Store/GitHub-Store">Featured Project</a>
147147
</p>
148148

149149
---
@@ -163,7 +163,7 @@ GitHub® is a registered trademark of GitHub, Inc.
163163
- Manual install option with automatic compatibility checks.
164164

165165
- **Rich details screen**
166-
- App name, version, “Install latest” button, and share action.
166+
- App name, version and share action.
167167
- Stars, forks, open issues.
168168
- Rendered README content (“About this app”).
169169
- Release notes with Markdown formatting for any selected release.
@@ -182,12 +182,6 @@ GitHub® is a registered trademark of GitHub, Inc.
182182
- **Network & performance**
183183
- Dynamic proxy support for configurable network routing.
184184
- Enhanced caching system for faster loading and reduced API usage.
185-
186-
- **Cross‑platform UX**
187-
- Android: native splash screen, session expiration handling, and adaptive icon.
188-
- Desktop: Linux AppImage support prioritized alongside DEB and RPM formats.
189-
- Localized in 12 languages: English, Spanish, French, Japanese, Korean, Polish, Russian, Chinese, Bengali, Hindi, Italian, and Turkish.
190-
191185
---
192186

193187
## 🔍 How does my app appear in GitHub Store?
@@ -220,36 +214,6 @@ automatically—no manual submission required.
220214

221215
---
222216

223-
## 🧭 How GitHub Store works (high‑level)
224-
225-
1. **Search**
226-
- Uses GitHub’s `/search/repositories` endpoint with platform‑aware queries.
227-
- Applies simple scoring based on topics, language, and description.
228-
- Filters out archived repos and those with too few signals.
229-
230-
2. **Release + asset check**
231-
- For candidate repos, calls `/repos/{owner}/{repo}/releases/latest`.
232-
- Checks the `assets` array for platform‑specific file extensions.
233-
- If no suitable asset is found, the repo is excluded from results.
234-
- Users can also browse all releases via the release picker.
235-
236-
3. **Details screen**
237-
- Repository info: name, owner, description, stars, forks, issues.
238-
- Release browser: browse any release with its tag, date, changelog, and assets.
239-
- README: loaded from the default branch and rendered as “About this app”.
240-
- Developer profile link and share action.
241-
- Accessible via deep links for direct navigation.
242-
243-
4. **Install flow**
244-
- When the user taps “Install latest” or selects a specific release:
245-
- Picks the best matching asset for the current platform (with architecture matching on Android).
246-
- Streams the download with caching support.
247-
- Delegates to the OS installer (APK installer on Android, default handler on desktop).
248-
- On Android, records the installation in a local database and uses package monitoring to keep the installed list in sync.
249-
- Supports open, uninstall, and downgrade actions for managed apps.
250-
251-
---
252-
253217
## ✅ Pros / Why use GitHub Store?
254218

255219
- **No more hunting through GitHub releases**
@@ -262,9 +226,6 @@ automatically—no manual submission required.
262226
Installs default to the latest published release, with the option to browse and install from
263227
any previous release via the release picker.
264228

265-
- **Uniform experience across platforms**
266-
Same UI and logic for Android and desktop, with platform‑native install behavior.
267-
268229
- **Open source & extensible**
269230
Written in KMP with a clear separation between networking, domain logic, and UI—easy to fork,
270231
extend, or adapt.
@@ -329,13 +290,10 @@ Sync the project and run the app. You should now be able to sign in with GitHub.
329290

330291
## ☕ Support the project
331292

332-
**GitHub Store** has reached **48,000+ active users** and **5,500+ GitHub stars** — and it's **100% free** with no ads, no tracking, and no premium features.
333-
334-
I built and maintain this entirely on my own while finishing high school. Your support (even $3) helps me:
293+
GitHub Store is built and maintained by high school student. Your support helps him:
335294

336295
**Keep the app bug-free** — respond to issues and ship fixes quickly
337296
**Add community-requested features** — implement what users actually need
338-
**Maintain infrastructure** — servers, APIs, and deployment costs
339297

340298
### 💖 Ways to Support
341299

@@ -350,7 +308,7 @@ I built and maintain this entirely on my own while finishing high school. Your s
350308
**Can't sponsor right now?** That's okay! You can still help by:
351309
-**Starring this repo** — helps others discover GitHub Store
352310
- 🐛 **Reporting bugs** — makes the app better for everyone
353-
- 📢 **Sharing with friends** — spread the word to other developers
311+
- 📢 **Sharing with friends** — spread the word to other developers and tech and non-tech buddies!
354312
- 💬 **Joining our [Discord](https://discord.gg/x9Cvh2Z9qS)** — your feedback shapes the roadmap
355313

356314
Every bit of support—financial or not—means the world and keeps this project alive. Thank you!
@@ -373,11 +331,11 @@ fit for any particular purpose.
373331

374332
## Star History
375333

376-
<a href="https://www.star-history.com/#rainxchzed/Github-Store&type=timeline&legend=top-left">
334+
<a href="https://www.star-history.com/#OpenHub-Store/GitHub-Store&type=timeline&legend=top-left">
377335
<picture>
378-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=rainxchzed/Github-Store&type=timeline&theme=dark&legend=top-left" />
379-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=rainxchzed/Github-Store&type=timeline&legend=top-left" />
380-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=rainxchzed/Github-Store&type=timeline&legend=top-left" />
336+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=OpenHub-Store/GitHub-Store&type=timeline&theme=dark&legend=top-left" />
337+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=OpenHub-Store/GitHub-Store&type=timeline&legend=top-left" />
338+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=OpenHub-Store/GitHub-Store&type=timeline&legend=top-left" />
381339
</picture>
382340
</a>
383341

build-logic/convention/build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ dependencies {
1616

1717
implementation(libs.buildkonfig.gradlePlugin)
1818
implementation(libs.buildkonfig.compiler)
19+
20+
implementation(libs.ktlint.gradlePlugin)
1921
}
2022

2123
java {
@@ -70,5 +72,9 @@ gradlePlugin {
7072
id = "zed.rainxch.convention.room"
7173
implementationClass = "RoomConventionPlugin"
7274
}
75+
register("ktlint") {
76+
id = "zed.rainxch.convention.ktlint"
77+
implementationClass = "KtlintConventionPlugin"
78+
}
7379
}
74-
}
80+
}

build-logic/convention/src/main/kotlin/AndroidApplicationComposeConventionPlugin.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ class AndroidApplicationComposeConventionPlugin : Plugin<Project> {
1010
with(pluginManager) {
1111
apply("zed.rainxch.convention.android.application")
1212
apply("org.jetbrains.kotlin.plugin.compose")
13+
apply("zed.rainxch.convention.ktlint")
1314
}
1415

1516
val commonExtension = extensions.getByType<ApplicationExtension>()
1617
configureAndroidCompose(commonExtension)
1718
}
1819
}
19-
}
20+
}

build-logic/convention/src/main/kotlin/AndroidApplicationConventionPlugin.kt

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,33 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
1414

1515
extensions.configure<ApplicationExtension> {
1616
namespace = "zed.rainxch.githubstore"
17-
compileSdk = libs.findVersion("projectCompileSdkVersion").get().toString().toInt()
17+
compileSdk =
18+
libs
19+
.findVersion("projectCompileSdkVersion")
20+
.get()
21+
.toString()
22+
.toInt()
1823

1924
defaultConfig {
2025
applicationId = libs.findVersion("projectApplicationId").get().toString()
21-
minSdk = libs.findVersion("projectMinSdkVersion").get().toString().toInt()
22-
targetSdk = libs.findVersion("projectTargetSdkVersion").get().toString().toInt()
23-
versionCode = libs.findVersion("projectVersionCode").get().toString().toInt()
26+
minSdk =
27+
libs
28+
.findVersion("projectMinSdkVersion")
29+
.get()
30+
.toString()
31+
.toInt()
32+
targetSdk =
33+
libs
34+
.findVersion("projectTargetSdkVersion")
35+
.get()
36+
.toString()
37+
.toInt()
38+
versionCode =
39+
libs
40+
.findVersion("projectVersionCode")
41+
.get()
42+
.toString()
43+
.toInt()
2444
versionName = libs.findVersion("projectVersionName").get().toString()
2545
}
2646
packaging {
@@ -35,7 +55,7 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
3555

3656
proguardFiles(
3757
getDefaultProguardFile("proguard-android-optimize.txt"),
38-
"proguard-rules.pro"
58+
"proguard-rules.pro",
3959
)
4060
}
4161
}
@@ -44,5 +64,4 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
4464
}
4565
}
4666
}
47-
48-
}
67+
}

build-logic/convention/src/main/kotlin/BuildKonfigConventionPlugin.kt

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@ class BuildKonfigConventionPlugin : Plugin<Project> {
1818
packageName = target.pathToPackageName()
1919

2020
defaultConfigs {
21-
val localProps = Properties().apply {
22-
val file = rootProject.file("local.properties")
23-
if (file.exists()) file.inputStream().use { this.load(it) }
24-
}
21+
val localProps =
22+
Properties().apply {
23+
val file = rootProject.file("local.properties")
24+
if (file.exists()) file.inputStream().use { this.load(it) }
25+
}
2526

26-
val githubClientId = (localProps.getProperty("GITHUB_CLIENT_ID")
27-
?: "Ov23linTY28VFpFjFiI9").trim()
27+
val githubClientId =
28+
(
29+
localProps.getProperty("GITHUB_CLIENT_ID")
30+
?: "Ov23linTY28VFpFjFiI9"
31+
).trim()
2832

2933
val versionName = libs.findVersion("projectVersionName").get().toString()
3034

@@ -34,4 +38,4 @@ class BuildKonfigConventionPlugin : Plugin<Project> {
3438
}
3539
}
3640
}
37-
}
41+
}

build-logic/convention/src/main/kotlin/CmpApplicationConventionPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class CmpApplicationConventionPlugin : Plugin<Project> {
1919
configureJvmTarget()
2020

2121
dependencies {
22-
"debugImplementation"(libs.findLibrary("androidx-compose-ui-tooling").get( ))
22+
"debugImplementation"(libs.findLibrary("androidx-compose-ui-tooling").get())
2323
}
2424
}
2525
}
26-
}
26+
}

0 commit comments

Comments
 (0)