mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 22:37:03 +05:30
build: convert to Gradle Kotlin DSL
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
9839bf4014
commit
1e2fef884f
19 changed files with 514 additions and 230 deletions
34
buildSrc/build.gradle.kts
Normal file
34
buildSrc/build.gradle.kts
Normal file
|
@ -0,0 +1,34 @@
|
|||
apply(from = "buildDependencies.gradle")
|
||||
val build: Map<Any, Any> by extra
|
||||
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
}
|
||||
|
||||
repositories {
|
||||
google()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
|
||||
kotlinDslPluginOptions {
|
||||
experimentalWarning.set(false)
|
||||
}
|
||||
|
||||
gradlePlugin {
|
||||
plugins {
|
||||
register("lobsters") {
|
||||
id = "lobsters-plugin"
|
||||
implementationClass = "LobstersPlugin"
|
||||
}
|
||||
register("coreLibraryDesugaring") {
|
||||
id = "core-library-desugaring"
|
||||
implementationClass = "CoreLibraryDesugaringPlugin"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(build.getValue("kotlinGradlePlugin"))
|
||||
implementation(build.getValue("daggerGradlePlugin"))
|
||||
implementation(build.getValue("androidGradlePlugin"))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue