Allow API packages to be placed inside packages

This commit is contained in:
Johann Bernhardt committed 2021-12-04 16:58:38 +01:00
1 parent c2972f0f3e
commit aa8aff9065
1 file changed
+2 -2
+2 -2
View File
@@ -444,11 +444,11 @@ task devJar(type: Jar) {
task apiJar(type: Jar) {
from (sourceSets.main.allJava) {
include modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString() + '/**'
include modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString().replaceAll("\\.", "/") + '/**'
}
from (sourceSets.main.output) {
include modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString() + '/**'
include modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString().replaceAll("\\.", "/") + '/**'
}
from (sourceSets.main.resources.srcDirs) {