Shadow source jars too (#87)

* Shadow source jars too

* whoops
This commit is contained in:
ah-OOG-ah authored and GitHub committed 2024-11-04 10:45:42 +01:00
1 parent b077a12f1e
commit 54d49a3a9b
2 files changed
+11

No files matched your search

+6
View File
@@ -9,3 +9,9 @@ tasks.processResources {
expand("version" to project.version.toString())
}
}
// Shadow source jars too
val shadowSources = configurations.getByName("shadowSources")
tasks.sourcesJar {
from(shadowSources.map { zipTree(it) })
}
+5
View File
@@ -1,8 +1,13 @@
// Add your dependencies here
configurations {
shadowSources
}
dependencies {
shadowImplementation("it.unimi.dsi:fastutil:8.5.12") // Apache 2.0
shadowImplementation("org.joml:joml:1.10.5") // MIT
shadowSources("it.unimi.dsi:fastutil:8.5.12:sources")
shadowSources("org.joml:joml:1.10.5:sources")
testImplementation(platform("org.junit:junit-bom:5.9.2"))
testImplementation("org.junit.jupiter:junit-jupiter")