mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 10:37:05 +05:30
refactor(common): remove Aurora SVG transcoder plugin for now
The snapshot repository that needs to be added for this has been a constant thorn in the side with CC invalidation and Renovate trying to resolve _every_ dependency from the snapshots repo
This commit is contained in:
parent
fb62ec71ff
commit
4db02f4f93
13 changed files with 1987 additions and 30 deletions
|
@ -1,26 +1,13 @@
|
|||
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
||||
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.pushingpixels.aurora.tools.svgtranscoder.gradle.TranscodeTask
|
||||
|
||||
plugins {
|
||||
kotlin("android")
|
||||
id("dev.msfjarvis.claw.kotlin-common")
|
||||
id("dev.msfjarvis.claw.android-library")
|
||||
alias(libs.plugins.aurora.svg.transcoder)
|
||||
}
|
||||
|
||||
androidComponents { beforeVariants { it.enableUnitTest = false } }
|
||||
|
||||
val transcodeTask =
|
||||
tasks.register<TranscodeTask>("transcodeSvgs") {
|
||||
inputDirectory = file("svgs")
|
||||
outputDirectory = file("src/gen/kotlin/dev/msfjarvis/claw/common/res/clawicons")
|
||||
outputPackageName = "dev.msfjarvis.claw.common.res.clawicons"
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach { dependsOn(transcodeTask) }
|
||||
|
||||
dependencies {
|
||||
api(libs.napier)
|
||||
implementation(libs.androidx.compose.animation)
|
||||
|
@ -53,5 +40,4 @@ android {
|
|||
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
|
||||
}
|
||||
namespace = "dev.msfjarvis.claw.common"
|
||||
sourceSets { getByName("main") { kotlin.srcDir("src/gen/kotlin") } }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue