Skip to content

Commit

Permalink
feat: Explicitly publish javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Berstanio committed Jan 11, 2025
1 parent 660b0fa commit 6169785
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ dependencies {
testRuntimeOnly(files("build/jnigen/libs/gdx-box2d-natives-desktop.jar"))
}

java {
withSourcesJar()
withJavadocJar()
}

tasks.test {
outputs.upToDateWhen { false }
dependsOn("jnigenBuildHost", "jnigenPackageAllDesktop")
Expand All @@ -78,6 +83,8 @@ fun cmakeBuild(installDir: File, taskName: String, toolchainFile: File, extraFla
"-DBOX2D_VALIDATE=OFF",
"-DBOX2D_SANITIZE=OFF",
"-DBOX2D_UNIT_TESTS=OFF",
"-DBOX2D_BENCHMARKS=OFF",
"-DBOX2D_PROFILE=OFF",
"-DCMAKE_C_FLAGS_INIT=-fexceptions $otherCFlags -DB2_ENABLE_ASSERT ",
"-DCMAKE_STAGING_PREFIX=${installDir.absolutePath}",
"-DCMAKE_INSTALL_LIBDIR=${installDir.toPath().resolve("libs")}",
Expand Down

0 comments on commit 6169785

Please sign in to comment.