Skip to content

Commit

Permalink
Merge pull request #119 from mkurz/play-2-9-0-adjustments
Browse files Browse the repository at this point in the history
Some adjustments
  • Loading branch information
mkurz authored Nov 21, 2023
2 parents 10eecfc + 0ae2f93 commit af0c7f4
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ scala:
- 3.3.1

env:
- TRAVIS_JDK=21
- TRAVIS_JDK=11

before_install: curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh
install: jabba install $(jabba ls-remote "adopt@~1.$TRAVIS_JDK.0-0" --latest=patch) && jabba use "$_" && java -Xmx32m -version
Expand Down
6 changes: 1 addition & 5 deletions code/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name := "deadbolt-java"

lazy val root = (project in file(".")).enablePlugins(PlayWeb).disablePlugins(PlayFilters, PlayLogback, PlayAkkaHttpServer)

version := "2.9.0"

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

scalaVersion := crossScalaVersions.value.head
Expand All @@ -22,12 +20,10 @@ releasePublishArtifactsAction := PgpKeys.publishSigned.value
javacOptions += "-Xlint:deprecation"
scalacOptions += "-deprecation"

resolvers += Resolver.sonatypeRepo("snapshots")

TwirlKeys.templateImports ++= Seq(
"java.util.Optional"
)
Test / TwirlKeys.templateImports ++= Seq(
"java.util.List",
"play.core.j.PlayMagicForJava._",
)
)
4 changes: 0 additions & 4 deletions code/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.9.0")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2-1")

addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.13")

resolvers ++= Resolver.sonatypeOssRepos("snapshots")
2 changes: 1 addition & 1 deletion code/version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "2.8.2-SNAPSHOT"
version in ThisBuild := "2.9.0-SNAPSHOT"
3 changes: 1 addition & 2 deletions test-app-filters/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name := """test-app-filters"""

version := "2.9.0-SNAPSHOT"
Expand All @@ -15,7 +14,7 @@ scalacOptions += "-deprecation"

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

Expand Down
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" % "2.9.0")
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % System.getProperty("playTestVersion", "2.9.0"))

resolvers ++= Resolver.sonatypeOssRepos("snapshots")
2 changes: 1 addition & 1 deletion test-app/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ scalacOptions += "-deprecation"

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

Expand Down
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" % "2.9.0")
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % System.getProperty("playTestVersion", "2.9.0"))

resolvers ++= Resolver.sonatypeOssRepos("snapshots")

0 comments on commit af0c7f4

Please sign in to comment.