From 646c38282f9714bb707f5d0c646dd2924dd77963 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 23 Sep 2024 10:54:27 +0300 Subject: [PATCH] Initialize Idea project. --- .gitignore | 4 ++++ build.sbt | 9 +++++++++ project/build.properties | 1 + project/plugins.sbt | 1 + src/main/scala/main.scala | 6 ++++++ 5 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 build.sbt create mode 100644 project/build.properties create mode 100644 project/plugins.sbt create mode 100644 src/main/scala/main.scala diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..670f1cb --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.idea +.bsp +target +/../target diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..dea0554 --- /dev/null +++ b/build.sbt @@ -0,0 +1,9 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := "3.3.3" + +lazy val root = (project in file(".")) + .settings( + name := "untitled", + idePackagePrefix := Some("com.voronind.doublegis.test") + ) diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 0000000..23f7d97 --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version = 1.10.2 diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..eab8ad2 --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1 @@ +addSbtPlugin("org.jetbrains.scala" % "sbt-ide-settings" % "1.1.2") diff --git a/src/main/scala/main.scala b/src/main/scala/main.scala new file mode 100644 index 0000000..ab5384b --- /dev/null +++ b/src/main/scala/main.scala @@ -0,0 +1,6 @@ +package com.voronind.doublegis.test + +@main +def main(): Unit = { + println("Hello world!") +} \ No newline at end of file