Skip to content

Commit

Permalink
Example apps should use same version as main project now
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Nov 27, 2023
1 parent 36b8c71 commit 78deb32
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
9 changes: 4 additions & 5 deletions test-app-filters/build.sbt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name := """test-app-filters"""

version := "2.9.0-SNAPSHOT"

crossScalaVersions := Seq("2.13.12", "3.3.1")

scalaVersion := crossScalaVersions.value.head

// sync this setting with the one main build.sbt
ThisBuild / dynverVTagPrefix := false

testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a")

javacOptions += "-Xlint:deprecation"
Expand All @@ -14,10 +15,8 @@ scalacOptions += "-deprecation"

libraryDependencies ++= Seq(
guice,
"be.objectify" %% "deadbolt-java" % "2.9.0-SNAPSHOT",
"be.objectify" %% "deadbolt-java" % version.value,
"io.rest-assured" % "rest-assured" % "5.3.2" % Test
)

lazy val root = (project in file(".")).enablePlugins(PlayJava)

resolvers ++= Resolver.sonatypeOssRepos("snapshots")
2 changes: 1 addition & 1 deletion test-app-filters/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % System.getProperty("playTestVersion", "2.9.0"))

resolvers ++= Resolver.sonatypeOssRepos("snapshots")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
9 changes: 4 additions & 5 deletions test-app/build.sbt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name := """test-app"""

version := "2.9.0-SNAPSHOT"

crossScalaVersions := Seq("2.13.12", "3.3.1")

scalaVersion := crossScalaVersions.value.head

// sync this setting with the one main build.sbt
ThisBuild / dynverVTagPrefix := false

testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a")

javacOptions += "-Xlint:deprecation"
Expand All @@ -14,10 +15,8 @@ scalacOptions += "-deprecation"

libraryDependencies ++= Seq(
guice,
"be.objectify" %% "deadbolt-java" % "2.9.0-SNAPSHOT",
"be.objectify" %% "deadbolt-java" % version.value,
"io.rest-assured" % "rest-assured" % "5.3.2" % Test
)

lazy val root = (project in file(".")).enablePlugins(PlayJava)

resolvers ++= Resolver.sonatypeOssRepos("snapshots")
2 changes: 1 addition & 1 deletion test-app/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % System.getProperty("playTestVersion", "2.9.0"))

resolvers ++= Resolver.sonatypeOssRepos("snapshots")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")

0 comments on commit 78deb32

Please sign in to comment.