Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mradkhambek/android-convention
My android-convention
https://github.com/mradkhambek/android-convention
Last synced: 12 days ago
JSON representation
My android-convention
- Host: GitHub
- URL: https://github.com/mradkhambek/android-convention
- Owner: MrAdkhambek
- Created: 2024-05-13T17:02:32.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T19:54:54.000Z (6 months ago)
- Last Synced: 2024-05-22T20:54:21.925Z (6 months ago)
- Language: Kotlin
- Size: 73.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Convention Plugins (W.I.P)
[Original Project](https://github.com/raxden/android-convention).
The `build-logic` folder defines project-specific convention plugins, used to keep a single
source of truth for common module configurations.## Basic setup
1. Navigate to Your Project's Root Directory
2. Add the Repository as a Submodule:```
git submodule add [email protected]:MrAdkhambek/android-convention.git
```
3. Change the name of the folder to build-logic
```
git mv android-convention build-logic
```
4. Modify your `settings.gradle.kts` setting the path of toml.
```
pluginManagement {
includeBuild("build-logic")
...
}
...
dependencyResolutionManagement {
versionCatalogs {
create("libs") { from(files("build-logic/gradle/libraries.versions.toml")) }
}
...
}
```## Plugins
#### Android application
Kotlin
```kt
plugins {
id("android-application-conventions")
}
```Groovy
```groovy
plugins {
id 'android-application-conventions'
}
```