diff --git a/build.gradle b/build.gradle index 4d15aaf52..0d183415d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,35 +1,34 @@ plugins { - //inlude the nodeJS plugin to execute nodejs and npm tasks - id "com.moowork.node" version "1.2.0" + id "com.github.node-gradle.node" version "3.5.1" } node { - download = true - version = "9.11.1" - npmVersion = "5.6.0" + download = true + version = "9.11.1" + npmVersion = "5.6.0" } -//declare a build task +// Declare a build task task build -//declare a task to create a zip of the app +// Declare a task to create a zip of the app task zip(type: Zip) { - from ('.') { - include "*" - include "bin/**" - include "data/**" - include "node_modules/**" - include "public/**" - include "routes/**" - include "views/**" - } - destinationDir(file("dist")) - baseName "trainSchedule" + from('.') { + include "*" + include "bin/**" + include "data/**" + include "node_modules/**" + include "public/**" + include "routes/**" + include "views/**" + } + destinationDirectory.set(file("dist")) // ✅ FIXED + archiveBaseName.set("trainSchedule") // ✅ FIXED } -//declare task dependencies +// Declare task dependencies build.dependsOn zip zip.dependsOn npm_build npm_build.dependsOn npm_test npm_test.dependsOn npmInstall -npm_build.dependsOn npmInstall \ No newline at end of file +npm_build.dependsOn npmInstall diff --git a/chi.txt b/chi.txt new file mode 100644 index 000000000..71de4ccd3 --- /dev/null +++ b/chi.txt @@ -0,0 +1 @@ +hi i'm chiii diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index bf3de2183..5ccad28b8 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip +distributionUrl=https://services.gradle.org/distributions/gradle-8.14.3-bin.zip zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists +zipStorePath=wrapper/dists \ No newline at end of file diff --git a/views/index.jade b/views/index.jade index 6e6be7155..130337008 100644 --- a/views/index.jade +++ b/views/index.jade @@ -1,7 +1,7 @@ extends layout block content - h1 Find your train! + h1 Find your train! Welvome to pornhub! What kinda train do u want ran on u?! p Select your train below to see its current schedule. #wrapper #trainList @@ -10,4 +10,4 @@ block content #trainInfo strong #trainSchedule - strong Select a train to view its current schedule. \ No newline at end of file + strong Select a train to view its current schedule.