Closed maciejmalycha closed 4 years ago
to be released in 9.1.0
nope, reopening, more investigation needed. @maciejmalycha
Caused by: java.util.NoSuchElementException: Collection is empty.
at kotlin.collections.CollectionsKt___CollectionsKt.first(_Collections.kt:184)
at com.cognifide.gradle.aem.pkg.tasks.compose.PackageDependency.getFile(PackageDependency.kt:21)
at com.cognifide.gradle.aem.pkg.tasks.PackageCompose$fromPackage$1.invoke(PackageCompose.kt:294)
at com.cognifide.gradle.aem.pkg.tasks.PackageCompose$fromPackage$1.invoke(PackageCompose.kt:30)
at com.cognifide.gradle.aem.pkg.tasks.PackageCompose.projectsEvaluated(PackageCompose.kt:155)
at com.cognifide.gradle.aem.AemTaskFacade$register$3$2$1.execute(AemTaskFacade.kt:231)
at com.cognifide.gradle.aem.AemTaskFacade$register$3$2$1.execute(AemTaskFacade.kt:25)
at org.gradle.api.internal.DefaultMutationGuard$2.execute(DefaultMutationGuard.java:42)
implemented as / availalble in 9.1.4
aem {
tasks {
packageCompose {
fromSubpackage(":aem:site.demo:packageCompose")
}
}
}
but .... by default, oakpal basic plan disallows subpackages.
released in 9.1.4
Following configuration:
Fails with:
Alternatively:
and: