decomposer
decomposer copied to clipboard
Decomposer doesn't create gradle task
Hello, I'm trying to use your plugin"Decomposer", but I have some troubles. I modified my settings.gradle file like your example in Readme. And my settings.gradle now is:
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven(url = "https://jitpack.io")
}
resolutionStrategy {
eachPlugin {
if(requested.id.toString() == "com.github.takahirom.decomposer"){
useModule("com.github.takahirom:decomposer:main-SNAPSHOT")}
}
}
plugins {
id ("com.android.library")
id ("kotlin-android")
id ("com.github.takahirom.decomposer")
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "My Application2"
include(":app")
But task ":uicomponent-compose:compileDebugKotlin" does not exist in my tasks list after sync. And also when i tried to run this task in command line, the was exception: "Task not found"
Thank you for trying this plugin.
You might have to use id ("com.github.takahirom.decomposer") in your app module. It is because I'm not sure what happens when you use plugins in pluginManagement.