Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
export GPG_TTY=$(tty) &&
echo $PGP_SECRET | base64 -d | gpg --passphrase=$PGP_PASSPHRASE --yes --batch --pinentry-mode loopback --import &&
export PATH=`pwd`/.github/bin:$PATH &&
sbt cogen/ciReleaseTagNextVersion cogen/ciReleaseSonatype
sbt ciReleaseTagNextVersion ciReleaseSonatype
8 changes: 7 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,15 @@ lazy val cogen = (Project(id = "cogen", base = file("cogen")))
*/
lazy val core = (Project(id = "core", base = file("core")))
.settings(commonSettings: _*)
.settings(noPublishSettings: _*)
.settings(
moduleName := "expression-problem-core",
)
.dependsOn(cogen)

lazy val approach = (Project(id = "approach", base = file("approach")))
.settings(commonSettings: _*)
.settings(noPublishSettings: _*)
.settings(
moduleName := "expression-problem-approach",
)
Expand All @@ -87,6 +89,7 @@ lazy val approach = (Project(id = "approach", base = file("approach")))
def standardDomainProject(domainName: String): Project =
(Project(id = s"domain-$domainName", base = file(s"domain/$domainName")))
.settings(commonSettings: _*)
.settings(noPublishSettings: _*)
.settings(
moduleName := s"expression-problem-domain-$domainName"
)
Expand All @@ -106,15 +109,17 @@ def standardLanguageProject(languageName: String): Project =
.settings(
moduleName := s"expression-problem-language-$languageName",
)
.settings(publishSettings: _*)
.dependsOn(cogen)

lazy val languageJava =
standardLanguageProject("java")
.settings(libraryDependencies += "com.github.javaparser" % "javaparser-core" % "3.26.4")
.settings(libraryDependencies += "com.github.javaparser" % "javaparser-core" % "3.26.4")

lazy val helloWorldProject: Project =
(Project(id = s"helloWorld", base = file(s"helloworld")))
.settings(commonSettings: _*)
.settings(noPublishSettings: _*)
.settings(
moduleName := s"expression-problem-language-helloworld",
)
Expand All @@ -130,6 +135,7 @@ lazy val languageNewScala =
lazy val builder =
(Project(id = s"builder", base = file(s"builder")))
.settings(commonSettings: _*)
.settings(noPublishSettings: _*)
.settings(
moduleName := s"expression-problem-language-builder",
)
Expand Down