I have 2 questions:
1. Does anyone know how to use the C plugin from Kotlin Script Gradle? The key extension namespace for it is
model
, but that doesn’t seem to exist in the kotlin world.
2. if I run
./gradlew :project:tasks
I get a list of tasks for that project. I can do something like this in gradle 6.9:
def copyDylib = tasks.register('copyDylib', Copy) {
dependsOn "assembleDependentsMyJniLibrarySharedLibrary"
from(file("$buildDir/libs/myjnilibrary/shared/"))
into(file("$resourcesPath"))
}
But after upgrading to Gradle 7.x, it can no longer find the task
assembleDependentsMyJniLibrarySharedLibrary
even though I can call it and it clearly exists. I’ve also tried
afterEvaluate
with the same result.