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

Support sbt 1.x #1887

Open
ennru opened this issue Oct 18, 2017 · 4 comments
Open

Support sbt 1.x #1887

ennru opened this issue Oct 18, 2017 · 4 comments

Comments

@ennru
Copy link

ennru commented Oct 18, 2017

The sbt 1.x launchers are available from Maven Central nowadays
http://mvnrepository.org/artifact/org.scala-sbt/sbt-launch

From the build log:

Downloading sbt launcher for 1.0.2:
  From  http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/1.0.2/sbt-launch.jar

Log https://jitpack.io/com/github/ennru/sbt-xjc_2.12/1698b1e/build.log

PS: Thank you for a great tool and service!

ennru added a commit to ennru/sbt-xjc that referenced this issue Oct 18, 2017
Tried to get the plugin to build via jitpack.io, but it doesn't support sbt 1.x yet
(see jitpack/jitpack.io#1887 )

sbt scripted needs different configuration for sbt 1.x, so I backed off
@frozenspider
Copy link

+1, looks like JitPack still cannot build SBT 1.0 projects
https://jitpack.io/com/github/frozenspider/fs-web-utils/0.5.4/build.log

frozenspider added a commit to frozenspider/fs-web-utils that referenced this issue Oct 31, 2017
@chiwanpark
Copy link

@cornerman
Copy link

cornerman commented Nov 15, 2017

As a workaround for your own project, you can add a file .jitpack.yml to your repo:

# workaround for https://github.com/jitpack/jitpack.io/issues/1887

jdk:
  - oraclejdk8
before_install:
   - wget http://central.maven.org/maven2/org/scala-sbt/sbt-launch/1.0.3/sbt-launch-1.0.3.jar
install:
   - java -jar sbt-launch-1.0.3.jar publishM2

@jitpack-io
Copy link
Member

Hi all,

Sbt has now been updated and should work out of the box

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants