Make sourcejar actually contain sources in kommons-mc

This commit is contained in:
DBotThePony 2024-05-16 17:37:18 +07:00
parent ce2b463a85
commit c96284e0e4
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -34,6 +34,12 @@ tasks.jar {
from(zipTree(project(":guava").tasks.jar.get().outputs.files.asPath))
}
tasks.sourceJar {
from(project(":").sourceSets.main.get().allSource)
from(project(":gson").sourceSets.main.get().allSource)
from(project(":guava").sourceSets.main.get().allSource)
}
minecraft {
mappings("official", "1.20.2")
}