File tree Expand file tree Collapse file tree
sbt-play-ebean/src/main/scala/play/ebean/sbt Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ lazy val plugin = project
7272 organization := " org.playframework" ,
7373 Dependencies .plugin,
7474 addSbtPlugin(" org.playframework" % " sbt-plugin" % Versions .play),
75- scalaVersion := scala212,
76- crossScalaVersions := Seq (scala212, scala3Plugin),
75+ scalaVersion := scala212,
76+ crossScalaVersions := Seq (scala212, scala3Plugin),
7777 pluginCrossBuild / sbtVersion := {
7878 scalaBinaryVersion.value match {
7979 case " 2.12" => " 1.12.9"
@@ -99,10 +99,12 @@ lazy val plugin = project
9999 )}" ,
100100 ),
101101 scriptedBufferLog := false ,
102- scriptedDependencies := Def .sequential(
103- core / publishLocal,
104- publishLocal
105- ).value,
102+ scriptedDependencies := Def
103+ .sequential(
104+ core / publishLocal,
105+ publishLocal
106+ )
107+ .value,
106108 )
107109 .settings(
108110 (Compile / headerSources) ++=
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ object PlayEbean extends AutoPlugin {
110110
111111 try {
112112 implicit val fileConverterCompat : FileConverter = converter
113- val classpath =
113+ val classpath =
114114 (deps.map(dep => PluginCompat .toNioPath(dep.data).toUri.toURL).toVector :+ classes.toURI.toURL)
115115 .toArray[java.net.URL ]
116116 val classLoader = new URLClassLoader (classpath, null )
@@ -166,9 +166,9 @@ object PlayEbean extends AutoPlugin {
166166 // Creates a classloader with all the dependencies and all the resources, from there we can use the play ebean
167167 // code to load the config as it would be loaded in production
168168 def withClassLoader [T ](block : ClassLoader => T ): T = {
169- val converter = fileConverter.value
169+ val converter = fileConverter.value
170170 implicit val fileConverterCompat : FileConverter = converter
171- val classpath =
171+ val classpath =
172172 unmanagedResourceDirectories.value.map(_.toURI.toURL) ++
173173 dependencyClasspath.value.map(dep => PluginCompat .toNioPath(dep.data).toUri.toURL)
174174 val classLoader = new URLClassLoader (classpath.toArray[java.net.URL ], null )
You can’t perform that action at this time.
0 commit comments