Build: Include project main source set output in jar
This commit is contained in:
@@ -216,6 +216,10 @@ fun NamedDomainObjectContainer<TopLevelArtifact>.jarFromProject(project: Project
|
|||||||
file("${project.buildDir}/tmp/jar/MANIFEST.MF")
|
file("${project.buildDir}/tmp/jar/MANIFEST.MF")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (project.sourceSets.names.contains("main")) {
|
||||||
|
moduleOutput(moduleName(project.path))
|
||||||
|
}
|
||||||
|
|
||||||
jarContentsFromEmbeddedConfiguration(project)
|
jarContentsFromEmbeddedConfiguration(project)
|
||||||
|
|
||||||
configureAction()
|
configureAction()
|
||||||
|
|||||||
Reference in New Issue
Block a user