forked from benmccann/xero-java-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Gradle with SBT because SBT has a much nicer XJC plugin. The …
…project now builds on Java 8 again
- Loading branch information
Ben McCann
committed
Mar 20, 2015
1 parent
4fd8c91
commit 3547520
Showing
15 changed files
with
49 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ client/src/generated/java | |
|
||
.gradle | ||
build | ||
target | ||
|
||
.classpath | ||
.project | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright 2015 Connectifier, Inc. All Rights Reserved. | ||
|
||
organization := "com.connectifier.xero" | ||
name := "client" | ||
version := "0.12-SNAPSHOT" | ||
|
||
// Java. Not Scala | ||
crossPaths := false | ||
autoScalaLibrary := false | ||
|
||
// XJC-plugin settings | ||
sources in (Compile, xjc) += baseDirectory.value / ".." / ".." / "XeroAPI-Schemas" / "v2.00" | ||
xjcCommandLine += "-p" | ||
xjcCommandLine += "com.connectifier.xeroclient.models" | ||
xjcBindings += "src/main/resources/bindings.xjb" | ||
xjcPlugins += "com.connectifier.xero" % "xjc-plugin" % "0.1-SNAPSHOT" | ||
xjcCommandLine += "-Xcustom" | ||
|
||
libraryDependencies ++= Seq( | ||
"com.google.guava" % "guava" % "18.0", | ||
"org.bouncycastle" % "bcpkix-jdk15on" % "1.51", | ||
"org.scribe" % "scribe" % "1.3.5", | ||
"junit" % "junit" % "4.12" % "test", | ||
"com.novocode" % "junit-interface" % "0.11" % "test" | ||
) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=0.13.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "3.0.0") | ||
|
||
addSbtPlugin("org.scala-sbt.plugins" % "sbt-xjc" % "0.7") |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2015 Connectifier, Inc. All Rights Reserved. | ||
|
||
organization := "com.connectifier.xero" | ||
name := "xjc-plugin" | ||
version := "0.1-SNAPSHOT" | ||
|
||
// Java. Not Scala | ||
crossPaths := false | ||
autoScalaLibrary := false | ||
|
||
libraryDependencies ++= Seq( | ||
"org.glassfish.jaxb" % "jaxb-xjc" % "2.2.11", | ||
"junit" % "junit" % "4.12" % "test", | ||
"com.novocode" % "junit-interface" % "0.11" % "test" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=0.13.7 |
File renamed without changes.
File renamed without changes.