Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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'
}
```