Skip to content

Commit

Permalink
Added auto-module names
Browse files Browse the repository at this point in the history
  • Loading branch information
Штенгауэр Никита Дмитриевич committed Dec 24, 2024
1 parent d48e585 commit 3e673f9
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
projectName=openglfx
version=4.1.11
version=4.1.12

kotlinVersion=2.0.20
graplVersion=2.3.5
graplVersion=2.3.6
javafxVersion=17.0.2
lwjglVersion=3.3.2
lwjgl2Version=2.9.3
Expand Down
6 changes: 6 additions & 0 deletions modules/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ properties {
field("VERSION", version)
}

jar {
manifest {
attributes("Automatic-Module-Name": projectName)
}
}

moduleInfo {
name = projectName

Expand Down
2 changes: 1 addition & 1 deletion modules/core/kotlin/com/huskerdev/openglfx/GLFXInfo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package com.huskerdev.openglfx
// Generated with gradle
class GLFXInfo {
companion object {
const val VERSION = "4.1.11"
const val VERSION = "4.1.12"
}
}
6 changes: 6 additions & 0 deletions modules/core/native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ maven {
description = "$projectName core module (natives for $project.ext.shortOS)"
}

jar {
manifest {
attributes("Automatic-Module-Name": "${projectName}.natives.core.${project.ext.shortOS}")
}
}

moduleInfo {
name = "${projectName}.natives.core.${project.ext.shortOS}"

Expand Down
6 changes: 6 additions & 0 deletions modules/jogl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ dependencies {
}
}

jar {
manifest {
attributes("Automatic-Module-Name": "${projectName}.jogl")
}
}

moduleInfo {
name = "${projectName}.jogl"

Expand Down
6 changes: 6 additions & 0 deletions modules/libgdx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ dependencies {
compileOnly "com.badlogicgames.gdx:gdx-platform:$libgdxVersion:natives-desktop"
}

jar {
manifest {
attributes("Automatic-Module-Name": "${projectName}.libgdx")
}
}

moduleInfo {
name = "${projectName}.libgdx"

Expand Down
6 changes: 6 additions & 0 deletions modules/lwjgl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ dependencies {
}
}

jar {
manifest {
attributes("Automatic-Module-Name": "${projectName}.lwjgl")
}
}

moduleInfo {
name = "${projectName}.lwjgl"

Expand Down
6 changes: 6 additions & 0 deletions modules/lwjgl2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ maven {
description = "$projectName lwjgl2 module"
}

jar {
manifest {
attributes("Automatic-Module-Name": "${projectName}.lwjgl2")
}
}

dependencies {
compileOnly JavaFX
api project(':modules:core')
Expand Down

0 comments on commit 3e673f9

Please sign in to comment.