More work on the GPU API

This commit is contained in:
Speiger
2026-05-28 13:31:16 +02:00
parent bc078abea4
commit c1f6c5ec10
27 changed files with 898 additions and 643 deletions
+14 -1
View File
@@ -7,10 +7,23 @@ tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
eclipse {
classpath {
downloadJavadoc = true
downloadSources = true
file {
whenMerged { cp ->
cp.entries.forEach { entry ->
// Target the core LWJGL modules
if (entry.kind == 'lib' && entry.path.contains('org.lwjgl')) {
// Dynamically add a JPMS modular export rule to the Eclipse compiler
def rule = new org.gradle.plugins.ide.eclipse.model.AccessRule('accessible', 'org/lwjgl/system/**')
entry.accessRules.add(rule)
}
}
}
}
}
}
@@ -29,7 +42,7 @@ repositories {
name = "Speiger Maven"
url = "https://maven.speiger.com/repository/main"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://central.sonatype.com/repository/maven-snapshots" }
}