More work on the GPU API
This commit is contained in:
+14
-1
@@ -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" }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user