We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Sir,
I just cloned your file and tried to compile with the latest depenencie libraryDependencies += "com.gluonhq" % "substrate" % "0.0.26" in build.sbt
I got the fail, so I tried to figure out.
ProjectConfiguration's constructor changed in the update substrate, I changed following as ClientPlugin.scala
def clientConfig(): Def.Initialize[Task[ProjectConfiguration]] = Def.task { val mainClassValue = (mainClass in Compile).value.get val classpath = (fullClasspath in Compile) .value .map(.data) .map(.getAbsolutePath) .mkString(File.pathSeparator)
val clientConfig = new ProjectConfiguration(mainClassValue, classpath) clientConfig.setGraalPath(Paths.get(graalPath.value)) clientConfig.setTarget(Triplet.fromCurrentOS) clientConfig.setAppId(organization.value + "." + name.value) clientConfig.setAppName(name.value) clientConfig.setCompilerArgs(nativeImageArgs.value.asJava) clientConfig
}
Also two methods are not necessary "classpath: parameter
val result = dispatcher.nativeCompile() val result = dispatcher.nativeLink() in projectSettings
Sorry, I am beginner of using github.
Best Regards, Richie.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello Sir,
I just cloned your file and tried to compile with the latest depenencie
libraryDependencies += "com.gluonhq" % "substrate" % "0.0.26" in build.sbt
I got the fail, so I tried to figure out.
ProjectConfiguration's constructor changed in the update substrate,
I changed following as ClientPlugin.scala
def clientConfig(): Def.Initialize[Task[ProjectConfiguration]] = Def.task {
val mainClassValue = (mainClass in Compile).value.get
val classpath = (fullClasspath in Compile)
.value
.map(.data)
.map(.getAbsolutePath)
.mkString(File.pathSeparator)
}
Also two methods are not necessary "classpath: parameter
val result = dispatcher.nativeCompile()
val result = dispatcher.nativeLink()
in projectSettings
Sorry, I am beginner of using github.
Best Regards,
Richie.
The text was updated successfully, but these errors were encountered: