package root.gui

import _root_.plugin.Tool
import org.openmole.buildsystem.OMKeys._

import sbt._
import root._
import root.Libraries._
import sbt.Keys._
import com.typesafe.sbt.osgi.OsgiKeys._
import _root_.plugin.Task
import ThirdParties._

object Server extends GuiDefaults {
  override val dir = super.dir / "server"

  lazy val core = OsgiProject("org.openmole.gui.server.core") settings
    (libraryDependencies ++= Seq(autowire, upickle, scalaTags, logback, scalatra, txtmark, clapper)) dependsOn
    (
      Shared.shared,
      Ext.dataui,
      Ext.data,
      Core.workflow,
      Core.buildinfo,
      openmoleFile,
      openmoleTar,
      openmoleCollection,
      root.Runtime.console,
      Misc.utils,
      root.ThirdParties.openmoleStream,
      openmoleCrypto,
      Task.care
    )

  lazy val state = OsgiProject("org.openmole.gui.server.state") settings
    (libraryDependencies ++= Seq(slick)) dependsOn
    (Ext.data, Core.workflow, Core.workspace)
}

package root.gui

import _root_.plugin.Tool
import org.openmole.buildsystem.OMKeys._

import sbt._
import root._
import root.Libraries._
import sbt.Keys._
import com.typesafe.sbt.osgi.OsgiKeys._
import ThirdParties._

object Server extends GuiDefaults {
  override val dir = super.dir / "server"

  lazy val core = OsgiProject("org.openmole.gui.server.core") settings
    (libraryDependencies ++= Seq(autowire, upickle, scalaTags, logback, scalatra, txtmark, clapper)) dependsOn
    (
      Shared.shared,
      Ext.dataui,
      Ext.data,
      Core.workflow,
      Core.buildinfo,
      openmoleFile,
      openmoleTar,
      openmoleCollection,
      root.Runtime.console,
      Misc.utils,
      root.ThirdParties.openmoleStream,
      openmoleCrypto
    )

  lazy val state = OsgiProject("org.openmole.gui.server.state") settings
    (libraryDependencies ++= Seq(slick)) dependsOn
    (Ext.data, Core.workflow, Core.workspace)
}

Remove CARE dependency from GUI core (led to bundle installed twice)
fix: Remove CARE dependency from GUI core (led to bundle installed twice)
