Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove intellij plugin #240

Merged
merged 1 commit into from
Mar 18, 2021
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
33 changes: 1 addition & 32 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,7 @@ val common = List(
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
)

lazy val core = project settings common settings (
Compile / resourceGenerators += Def.task {
val rootFolder = (Compile / resourceManaged).value / "META-INF"
rootFolder.mkdirs()
val integrationVersion = (intellijIntegration / version).value
val integrationName = (intellijIntegration / name).value
val integrationOrg = (intellijIntegration / organization).value
val intellijCompatFile = rootFolder / "intellij-compat.json"

IO.write(
intellijCompatFile,
s"""{"artifact": "$integrationOrg % ${integrationName}_2.13 % $integrationVersion"}""".stripMargin
)
Seq(intellijCompatFile)
},
)

lazy val core = project settings common
lazy val cats = project dependsOn core settings common
lazy val circe = project dependsOn core settings common
lazy val circeMagnolia = project dependsOn core settings common
Expand All @@ -97,21 +81,6 @@ lazy val catsTagless = project dependsOn core settings common
lazy val pureconfig = project dependsOn core settings common
lazy val scalacheck = project dependsOn core settings common

intellijPluginName in ThisBuild := "intellij-derevo"
intellijBuild in ThisBuild := "203.5981.41"

lazy val intellijIntegration =
project
.enablePlugins(SbtIdeaPlugin)
.settings(common)
.settings(
name := "derevo-intellij-integration",
version := "0.2.0",
intellijPlugins += "org.intellij.scala".toPlugin,
scalaVersion := "2.13.4",
packageMethod := PackagingMethod.Standalone()
)

lazy val derevo = project in file(".") settings (common, skip in publish := true) aggregate (
core, cats, circe, circeMagnolia, ciris, tethys, tschema, reactivemongo, catsTagless, pureconfig, scalacheck
)
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.8")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.0")

addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.7.3")

addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.0")