Skip to content

Commit

Permalink
y
Browse files Browse the repository at this point in the history
  • Loading branch information
djx314 committed Sep 28, 2024
1 parent ff3e7b0 commit da3024c
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
/inner-project/sonatype.sbt
/inner-project/.metals/
/inner-project/.vscode/
/project/sdap.sbt
/project/sdap.sbt
/inner-project/sbt-depts-resource-temp/
2 changes: 1 addition & 1 deletion inner-project/depts-action/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ scalafmtOnCompile := true
Compile / compile := ((Compile / compile) dependsOn (Compile / scalafmtSbt)).value

libraryDependencies ++= libScalax.`scala-collection-compat`.value
// libraryDependencies ++= libScalax.`sbt-launch`.value
libraryDependencies ++= libScalax.`sbt-launch`.value
libraryDependencies ++= libScalax.`commons-io`.value
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ public static void main(String[] arr) throws java.io.IOException, java.net.URISy
Path jarPath = Paths.get(jarFileURL.toURI());
String sbtDirName = "sbt-depts-resource-temp";
String sbtLaunchDirName = "sbt-launch";
Path outPutPath1 = Paths.get("./").resolve(sbtDirName).resolve(sbtLaunchDirName);
Path outPutDir1 = Paths.get(".").resolve(sbtDirName).resolve(sbtLaunchDirName);
Instant instant = Instant.now();
long millions = instant.toEpochMilli();
Path outPutPath2 = outPutPath1.resolve(String.valueOf(millions));
Path outPutPath3 = outPutPath2.resolve(jarPath.getFileName().toString());
Files.copy(jarPath, outPutPath3);
System.out.println(outPutPath3);
Path outPutDir2 = outPutDir1.resolve(String.valueOf(millions));
Path outPutPath1 = outPutDir2.resolve(jarPath.getFileName().toString());
Files.createDirectories(outPutDir2);
Files.copy(jarPath, outPutPath1);
System.out.println(outPutPath1);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package codegen

object SbtVersionInfo extends _root_.djx.sbt.depts.abs.TakeSbtProperties {

override val sbtPropertiesString: String = """sbt.version=1.10.1"""
override val sbtPropertiesString: String = """sbt.version=1.10.2"""

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import net.scalax.simple.adt.{TypeAdt => Adt}
object pUtils extends pUtils

trait pUtils {
val jarPath: java.nio.file.Path = Paths.get(jarFileURL.toURI());
Path outPutPath = java.nio.file.Paths.get("./").resolve(jarPath.getFileName().toString());

val initializeInstanceMonad: Monad[sbt.Def.Initialize] = new StackSafeMonad[sbt.Def.Initialize] {
override def flatMap[A, B](fa: sbt.Def.Initialize[A])(f: A => sbt.Def.Initialize[B]): sbt.Def.Initialize[B] =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ trait PluginsColImpl {

val `sbt-ide-settings`: sbt.librarymanagement.ModuleID = """org.jetbrains.scala""" % """sbt-ide-settings""" % """1.1.2"""

val `sbt-scalajs`: sbt.librarymanagement.ModuleID = """org.scala-js""" % """sbt-scalajs""" % """1.16.0"""
val `sbt-scalajs`: sbt.librarymanagement.ModuleID = """org.scala-js""" % """sbt-scalajs""" % """1.17.0"""

val `sbt-platform-deps`: sbt.librarymanagement.ModuleID = """org.portable-scala""" % """sbt-platform-deps""" % """1.0.2"""

Expand All @@ -34,11 +34,11 @@ trait PluginsColImpl {

val `sbt-assembly`: sbt.librarymanagement.ModuleID = """com.eed3si9n""" % """sbt-assembly""" % """2.2.0"""

val `sbt-scoverage`: sbt.librarymanagement.ModuleID = """org.scoverage""" % """sbt-scoverage""" % """2.2.0"""
val `sbt-scoverage`: sbt.librarymanagement.ModuleID = """org.scoverage""" % """sbt-scoverage""" % """2.2.1"""

val `sbt-github-actions`: sbt.librarymanagement.ModuleID = """com.github.sbt""" % """sbt-github-actions""" % """0.24.0"""

val `sbt-jacoco`: sbt.librarymanagement.ModuleID = """com.github.sbt""" % """sbt-jacoco""" % """3.5.1"""
val `sbt-jacoco`: sbt.librarymanagement.ModuleID = """com.github.sbt""" % """sbt-jacoco""" % """3.5.0"""

val `sbt-jmh`: sbt.librarymanagement.ModuleID = """pl.project13.scala""" % """sbt-jmh""" % """0.4.7"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
905
908
2 changes: 1 addition & 1 deletion inner-project/project/project/sbt-depts-djx314-lib.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
libraryDependencies += "net.scalax.djx314" %% "sbt-depts-djx314-plugins" % "0.0.1-M890"
libraryDependencies += "net.scalax.djx314" %% "sbt-depts-djx314-plugins" % "0.0.1-M908"
2 changes: 1 addition & 1 deletion inner-project/project/sbt-depts-plugin.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("net.scalax.djx314" % "sbt-depts-djx314" % "0.0.1-M890")
addSbtPlugin("net.scalax.djx314" % "sbt-depts-djx314" % "0.0.1-M908")

0 comments on commit da3024c

Please sign in to comment.