From da7e2135628d302ac735b2e8d71533d4fe544e13 Mon Sep 17 00:00:00 2001 From: Jarek Sacha Date: Mon, 7 Feb 2022 21:00:46 -0500 Subject: [PATCH] Update the example project --- example/.scalafmt.conf | 12 ++++++++++++ example/build.sbt | 9 +++------ example/project/build.properties | 2 +- example/project/plugin-install4j.sbt | 2 +- 4 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 example/.scalafmt.conf diff --git a/example/.scalafmt.conf b/example/.scalafmt.conf new file mode 100644 index 0000000..a98bb16 --- /dev/null +++ b/example/.scalafmt.conf @@ -0,0 +1,12 @@ +version = 3.4.2 + +runner.dialect = scala3 + +preset = IntelliJ +align.preset = more +maxColumn = 120 +docstrings.style = Asterisk +docstrings.blankFirstLine = yes +docstrings.wrap = no +importSelectors = singleLine +newlines.source = keep \ No newline at end of file diff --git a/example/build.sbt b/example/build.sbt index f735ef0..e2152c7 100644 --- a/example/build.sbt +++ b/example/build.sbt @@ -1,10 +1,7 @@ -name := "sbt-install4j-example" +name := "sbt-install4j-example" organization := "ij-plugins.sf.net" -version := "1.3.1-SNAPSHOT" +version := "1.3.1.1-SNAPSHOT" -scalaVersion := "2.12.8" - -// Set the prompt (for this build) to include the project id. -shellPrompt in ThisBuild := { state => "sbt:"+Project.extract(state).currentRef.project + "> " } +scalaVersion := "3.1.1" fork := true diff --git a/example/project/build.properties b/example/project/build.properties index e2820dd..022b635 100644 --- a/example/project/build.properties +++ b/example/project/build.properties @@ -1,2 +1,2 @@ -sbt.version=1.2.8 +sbt.version=1.6.2 diff --git a/example/project/plugin-install4j.sbt b/example/project/plugin-install4j.sbt index 1a7bee8..4ed18c9 100644 --- a/example/project/plugin-install4j.sbt +++ b/example/project/plugin-install4j.sbt @@ -3,4 +3,4 @@ // For test publishing with `publishM2` resolvers += Resolver.mavenLocal -addSbtPlugin("com.github.jpsacha" % "sbt-install4j" % "1.3.1-SNAPSHOT") +addSbtPlugin("com.github.jpsacha" % "sbt-install4j" % "1.3.1.1-SNAPSHOT")