@@ -15,9 +15,6 @@ import java.nio.file.Paths
1515 * either express or implied. See the License for the specific
1616 * language governing permissions and limitations under the License.
1717 */
18- restifyVersion = "4.1.2"
19- testngVersion = "7.6.1"
20-
2118project(group: "io.fusionauth", name: "self", version: "0.1.0", licenses: ["Apache-2.0"]) {
2219 workflow {
2320 fetch {
@@ -35,7 +32,7 @@ project(group: "io.fusionauth", name: "self", version: "0.1.0", licenses: ["Apac
3532
3633 dependencies {
3734 group(name: "compile") {
38- dependency(id: "io.fusionauth:java-http:0.1.8 ")
35+ dependency(id: "io.fusionauth:java-http:0.4.0-{integration} ")
3936 }
4037 }
4138
@@ -52,7 +49,7 @@ idea = loadPlugin(id: "org.savantbuild.plugin:idea:2.0.0-RC.4")
5249tomcat = loadPlugin(id: "org.savantbuild.plugin:tomcat:2.0.0-RC.4")
5350webapp = loadPlugin(id: "org.savantbuild.plugin:webapp:2.0.0-RC.5.{integration}")
5451
55- java.settings.javaVersion = "17 "
52+ java.settings.javaVersion = "21 "
5653java.settings.compilerArguments = "--add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.util=ALL-UNNAMED -XDignore.symbol.file"
5754tomcat.settings.buildDirectory = Paths.get("build/dist/tomcat")
5855tomcat.settings.buildWebDirectory = Paths.get("build/dist/tomcat/web")
@@ -72,15 +69,15 @@ target(name: "jar", description: "Builds the project JARs", dependsOn: ["compile
7269
7370target(name: "app", description: "Builds the app", dependsOn: ["jar"]) {
7471 // Copy all compile dependencies to be able to run command line
75- dependency.copy(to: "build/lib") {
72+ dependency.copy(to: "build/dist/ lib") {
7673 dependencies(group: "compile", transitive: true, fetchSource: false)
7774 }
7875
79- file.copy(to: "build/lib") {
76+ file.copy(to: "build/dist/ lib") {
8077 fileSet(dir: "build/jars")
8178 }
8279
83- file.copy(to: "build") {
80+ file.copy(to: "build/dist ") {
8481 fileSet(dir: "src/main/script")
8582 }
8683}
0 commit comments