Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kroegerama/magic-catalogs
Dependency versions for modern android applications
https://github.com/kroegerama/magic-catalogs
android catalogs gradle kaiteki magic
Last synced: 9 days ago
JSON representation
Dependency versions for modern android applications
- Host: GitHub
- URL: https://github.com/kroegerama/magic-catalogs
- Owner: kroegerama
- License: apache-2.0
- Created: 2021-06-20T09:04:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T10:34:40.000Z (15 days ago)
- Last Synced: 2024-11-01T11:25:01.083Z (15 days ago)
- Topics: android, catalogs, gradle, kaiteki, magic
- Language: Kotlin
- Homepage:
- Size: 188 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - kroegerama/magic-catalogs - Dependency versions for modern android applications (Kotlin)
README
# Magic Catalogs
Dependency versions for modern android applications
![Publish](https://github.com/kroegerama/magic-catalogs/workflows/Publish/badge.svg)
![License](https://img.shields.io/github/license/kroegerama/magic-catalogs)
| Artifact | Version |
|:---------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| magic | [![Maven Central](https://img.shields.io/maven-central/v/com.kroegerama.magic-catalogs/magic)](https://search.maven.org/artifact/com.kroegerama.magic-catalogs/magic) |
| androidx | [![Maven Central](https://img.shields.io/maven-central/v/com.kroegerama.magic-catalogs/androidx)](https://search.maven.org/artifact/com.kroegerama.magic-catalogs/androidx) |## Example usage
##### `settings.gradle.kts`
```kotlin
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
google()
}versionCatalogs {
val magicCatalogs: String by settingscreate("magic") {
from("com.kroegerama.magic-catalogs:magic:$magicCatalogs")
}
create("androidx") {
from("com.kroegerama.magic-catalogs:androidx:$magicCatalogs")
}
}
}// [...] include projects
```##### `build.gradle.kts` (root)
```kotlin
plugins {
alias(magic.plugins.android.application) apply false
alias(magic.plugins.android.library) apply false
alias(magic.plugins.kotlin.android) apply false
alias(magic.plugins.kotlin.kapt) apply false
alias(magic.plugins.kotlin.parcelize) apply false
alias(magic.plugins.kotlin.serialization) apply falsealias(magic.plugins.hilt.android) apply false
alias(magic.plugins.ksp) apply falsealias(magic.plugins.grgit) apply false
alias(magic.plugins.spotless) apply false
alias(androidx.plugins.navigation.safeArgs) apply false
}
```##### `build.gradle.kts` (module)
```kotlin
plugins {
alias(magic.plugins.android.application)
alias(magic.plugins.kotlin.android)
alias(magic.plugins.kotlin.kapt)
alias(magic.plugins.kotlin.parcelize)
alias(magic.plugins.kotlin.serialization)alias(magic.plugins.hilt.android)
alias(magic.plugins.ksp)alias(magic.plugins.grgit)
alias(magic.plugins.spotless)alias(androidx.plugins.navigation.safeArgs)
}// [...]
dependencies {
implementation(magic.kotlin.stdlib.jdk8)
implementation(magic.kotlinx.coroutines.android)
implementation(magic.kotlinx.serialization.json)implementation(androidx.bundles.base)
implementation(androidx.bundles.lifecycle)
implementation(androidx.bundles.navigation)
implementation(androidx.paging.runtime)
implementation(androidx.work.runtime)implementation(androidx.room)
ksp(androidx.room.compiler)
implementation(androidx.room.paging)implementation(magic.hilt.android)
kapt(magic.hilt.compiler)implementation(androidx.hilt.work)
implementation(androidx.hilt.navigation.fragment)
kapt(androidx.hilt.compiler)implementation(magic.material)
// [...]
}
```