Skip to content

Commit fd0a051

Browse files
author
William Raendchen
committed
init
GitPrivacy: bEo5O1lqfvITbSRgspJwRgLm6o+nTuIdQ7Vza3c22BT+u+3sFNAJ/8p2mDz0l4iNTSLgP9a9vQA= eu6AVfO7A6HqaVB4yxON/gBUCrlljfDTxiQ3yeXz4wigqlAlpDdZT+A+QzctHxtoq6+4kDKChxo=
0 parents  commit fd0a051

File tree

16 files changed

+287
-0
lines changed

16 files changed

+287
-0
lines changed

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/project/project/target/
2+
/project/target/
3+
/target
4+
/.idea/libraries
5+
/.idea/modules/scalaandjava.iml
6+
/.bsp/sbt.json
7+
/.idea/.name
8+
/.idea/uiDesigner.xml
9+
/.idea/modules/
10+
/.idea/vcs.xml
11+
/.idea/modules.xml
12+
/.idea/misc.xml
13+
/.idea/scala_compiler.xml
14+
/.idea/scala_settings.xml
15+
/.idea/compiler.xml

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/Project.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/sbt.xml

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.scalafmt.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version = 3.8.2
2+
runner.dialect = scala3
3+
4+
maxColumn = 120
5+
align.preset = most
6+
danglingParentheses.preset = true
7+
rewrite.rules = [RedundantBraces, RedundantParens]
8+
binPack.parentConstructors = false
9+
trailingCommas = keep

build.sbt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import scala.collection.Seq
2+
3+
ThisBuild / version := "0.0.1-SNAPSHOT"
4+
ThisBuild / scalaVersion := "3.6.1"
5+
ThisBuild / javacOptions ++= Seq("--release", "17")
6+
7+
libraryDependencies ++= Seq(
8+
"com.lihaoyi" %% "upickle" % "4.0.2",
9+
"com.softwaremill.sttp.client4" %% "core" % "4.0.0-M19",
10+
"org.scalatest" %% "scalatest" % "3.2.18" % Test,
11+
"org.scalatestplus" %% "mockito-5-12" % "3.2.19.0" % Test,
12+
"org.scalamock" %% "scalamock" % "6.0.0" % Test,
13+
)

project/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version = 1.10.4

project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
addSbtPlugin("org.jetbrains.scala" % "sbt-ide-settings" % "1.1.2")
2+
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.0")

src/main/java/JavaPlayground/App.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package JavaPlayground;
2+
3+
import ScalaPlayground.RomanNumerals.ScalaRomansPipeline;
4+
5+
class App {
6+
public static void main(String[] args) {
7+
JavaRomans javaRomans = new JavaRomans();
8+
System.out.println(javaRomans.toNumeral(999));
9+
10+
ScalaRomansPipeline scalaRomansPipeline = new ScalaRomansPipeline();
11+
System.out.println(scalaRomansPipeline.toNumeral(999));
12+
13+
ScalaCalculator calculator = new ScalaCalculator();
14+
System.out.println(calculator.add(1, 2));
15+
}
16+
}
17+

0 commit comments

Comments
 (0)