-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from Over-Run/marshal
Update marshal
- Loading branch information
Showing
545 changed files
with
2,032 additions
and
1,261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
modules/overrungl.opengl/build.gradle.kts → generators/opengl/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,32 @@ | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
plugins { | ||
embeddedKotlin("jvm") apply false | ||
embeddedKotlin("jvm") | ||
} | ||
|
||
repositories { mavenCentral() } | ||
|
||
val jdkVersion: String by rootProject | ||
val jdkEnablePreview: String by rootProject | ||
val kotlinTargetJdkVersion: String by rootProject | ||
|
||
sourceSets { | ||
create("generator") | ||
} | ||
|
||
tasks.withType<KotlinCompile> { | ||
kotlinOptions { jvmTarget = kotlinTargetJdkVersion } | ||
} | ||
|
||
tasks.named<JavaCompile>("compileGeneratorJava") { | ||
tasks.withType<JavaCompile> { | ||
javaCompiler.set(javaToolchains.compilerFor { | ||
targetCompatibility = kotlinTargetJdkVersion | ||
languageVersion.set(JavaLanguageVersion.of(jdkVersion)) | ||
}) | ||
} | ||
|
||
tasks.register<JavaExec>("generate") { | ||
classpath(sourceSets["generator"].runtimeClasspath) | ||
classpath(sourceSets["main"].runtimeClasspath) | ||
javaLauncher.set(javaToolchains.launcherFor { | ||
languageVersion.set(JavaLanguageVersion.of(jdkVersion)) | ||
}) | ||
if (jdkEnablePreview.toBoolean()) jvmArgs("--enable-preview") | ||
mainClass.set("overrungl.opengl.OpenGLGeneratorKt") | ||
workingDir = File("src/main/java/overrungl/opengl") | ||
workingDir = project(":opengl").projectDir.resolve("src/main/java/overrungl/opengl") | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.