Skip to content

Commit 97f0741

Browse files
committed
Move build.scala to build.sbt
1 parent d0f662b commit 97f0741

File tree

3 files changed

+23
-37
lines changed

3 files changed

+23
-37
lines changed

build.sbt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
val Organization = "gitbucket"
2+
val Name = "gitbucket-gist-plugin"
3+
val Version = "3.14.0-SNAPSHOT"
4+
5+
organization := Organization
6+
name := Name
7+
version := Version
8+
scalaVersion := "2.11.8"
9+
10+
resolvers ++= Seq(
11+
"amateras-repo" at "http://amateras.sourceforge.jp/mvn/",
12+
"amateras-snapshot-repo" at "http://amateras.sourceforge.jp/mvn-snapshot/"
13+
)
14+
15+
libraryDependencies ++= Seq(
16+
"gitbucket" % "gitbucket-assembly" % "3.14.0-SNAPSHOT" % "provided",
17+
"com.typesafe.play" %% "twirl-compiler" % "1.0.4" % "provided",
18+
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"
19+
)
20+
21+
scalacOptions := Seq("-deprecation", "-language:postfixOps")
22+
javacOptions in compile ++= Seq("-target", "7", "-source", "7")

install-local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22
./sbt.sh package
3-
cp target/scala-2.11/gitbucket-gist-plugin_2.11-3.13.0.jar ~/.gitbucket/plugins/
3+
cp target/scala-2.11/gitbucket-gist-plugin_2.11-3.14.0-SNAPSHOT.jar ~/.gitbucket/plugins/

project/build.scala

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)