Add Koin library
This commit is contained in:
parent
de78c385df
commit
023bb2cbb1
@ -116,6 +116,8 @@ dependencies {
|
|||||||
implementation(libs.draglinearlayout)
|
implementation(libs.draglinearlayout)
|
||||||
implementation(libs.viewpropertyobjectanimator)
|
implementation(libs.viewpropertyobjectanimator)
|
||||||
|
|
||||||
|
implementation(libs.bundles.koin)
|
||||||
|
|
||||||
implementation(project(":applications"))
|
implementation(project(":applications"))
|
||||||
implementation(project(":appsearch"))
|
implementation(project(":appsearch"))
|
||||||
implementation(project(":badges"))
|
implementation(project(":badges"))
|
||||||
|
|||||||
@ -185,4 +185,11 @@ val OpenSourceLicenses = arrayOf(
|
|||||||
licenseText = R.raw.license_apache_2,
|
licenseText = R.raw.license_apache_2,
|
||||||
url = "https://material.io/icons/"
|
url = "https://material.io/icons/"
|
||||||
),
|
),
|
||||||
|
OpenSourceLibrary(
|
||||||
|
name = "Koin",
|
||||||
|
description = "A smart Kotlin injection library to keep you focused on your app, not on your tools",
|
||||||
|
licenseName = R.string.apache_license_name,
|
||||||
|
licenseText = R.raw.license_apache_2,
|
||||||
|
url = "https://insert-koin.io/"
|
||||||
|
),
|
||||||
)
|
)
|
||||||
@ -386,6 +386,20 @@ dependencyResolutionManagement {
|
|||||||
alias("protobuf.javalite")
|
alias("protobuf.javalite")
|
||||||
.to("com.google.protobuf", "protobuf-javalite")
|
.to("com.google.protobuf", "protobuf-javalite")
|
||||||
.versionRef("protobuf")
|
.versionRef("protobuf")
|
||||||
|
|
||||||
|
version("koin", "3.1.2")
|
||||||
|
alias("koin.android")
|
||||||
|
.to("io.insert-koin", "koin-android")
|
||||||
|
.versionRef("koin")
|
||||||
|
alias("koin.androidviewmodel")
|
||||||
|
.to("io.insert-koin", "koin-android-viewmodel")
|
||||||
|
.versionRef("koin")
|
||||||
|
bundle(
|
||||||
|
"koin", listOf(
|
||||||
|
"koin.android",
|
||||||
|
"koin.androidviewmodel"
|
||||||
|
)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user