Skip to content

Update for recent tooling versions - Scala 3 #20

New issue

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

Open
wants to merge 7 commits into
base: 1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Step 1: Setup
  • Loading branch information
gzm0 authored and OndrejSpanel committed Mar 24, 2024
commit b0551c930f1a132a70f4897cf375b7e36e5f08c2
7 changes: 7 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
enablePlugins(ScalaJSPlugin)

name := "Scala.js Tutorial"
scalaVersion := "3.3.3"

// This is an application with a main method
scalaJSUseMainModuleInitializer := true
1 change: 1 addition & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=1.9.9
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
7 changes: 7 additions & 0 deletions src/main/scala/tutorial/webapp/TutorialApp.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package tutorial.webapp

object TutorialApp {
def main(args: Array[String]): Unit = {
println("Hello world!")
}
}