You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -48,6 +49,15 @@ class BundlePlugin : Plugin<Project> {
48
49
49
50
ensureJarBaseNameIfNotCustomized(jar)
50
51
ensureJarManifestAttributes(jar)
52
+
ensureJarEmbedded(jar)
53
+
}
54
+
}
55
+
56
+
privatefun Project.ensureJarEmbedded(jar:Jar) {
57
+
val embedJars = configurations.getByName(CONFIG_EMBED).files.map { it.name }.sorted()
58
+
if (embedJars.isNotEmpty()) {
59
+
logger.info("Bundle '${jar.archiveName}' has configured embedded jars: $embedJars.")
60
+
logger.info("For each one, ensure to have its packages exported by JAR manifest attribute 'Export-Package' or 'Private-Package' using DSL: 'aem { bundle { exportPackage('x.y.z') } }'.")
51
61
}
52
62
}
53
63
@@ -85,12 +95,6 @@ class BundlePlugin : Plugin<Project> {
0 commit comments