mirror of
https://github.com/ij-plugins/ijp-imagej-launcher.git
synced 2024-11-13 16:29:01 -08:00
Import an initial version created by sbt new scala-native/scala-native.g8
This commit is contained in:
commit
4f7829eea8
6 changed files with 28 additions and 0 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
.bsp/
|
||||||
|
.idea/
|
||||||
|
target/
|
||||||
|
|
||||||
2
.scalafmt.conf
Normal file
2
.scalafmt.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
version = "3.7.3"
|
||||||
|
runner.dialect = scala3
|
||||||
16
build.sbt
Normal file
16
build.sbt
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
scalaVersion := "3.2.2"
|
||||||
|
|
||||||
|
enablePlugins(ScalaNativePlugin)
|
||||||
|
|
||||||
|
// set to Debug for compilation details (Info is default)
|
||||||
|
logLevel := Level.Info
|
||||||
|
|
||||||
|
// import to add Scala Native options
|
||||||
|
import scala.scalanative.build._
|
||||||
|
|
||||||
|
// defaults set with common options shown
|
||||||
|
nativeConfig ~= { c =>
|
||||||
|
c.withLTO(LTO.none) // thin
|
||||||
|
.withMode(Mode.debug) // releaseFast
|
||||||
|
.withGC(GC.immix) // commix
|
||||||
|
}
|
||||||
1
project/build.properties
Normal file
1
project/build.properties
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
sbt.version = 1.8.2
|
||||||
1
project/plugins.sbt
Normal file
1
project/plugins.sbt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.10")
|
||||||
4
src/main/scala/Main.scala
Normal file
4
src/main/scala/Main.scala
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
object Main {
|
||||||
|
def main(args: Array[String]): Unit =
|
||||||
|
println("Hello, world!")
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue