summaryrefslogtreecommitdiffstats
path: root/html/build.gradle
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-27 21:58:12 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-27 22:26:28 +0100
commitabf16a799322d57068aba3969e16fb6bbd7f784f (patch)
treeab11a9084b5fd6ae489e50cac0deaa7f58bf397b /html/build.gradle
parent06e9e269c1eecb21a2c61d9bd6f2c1e43049fa55 (diff)
downloadRustAndDust-abf16a799322d57068aba3969e16fb6bbd7f784f.zip
RustAndDust-abf16a799322d57068aba3969e16fb6bbd7f784f.tar.gz
remove project html
Diffstat (limited to 'html/build.gradle')
-rw-r--r--html/build.gradle70
1 files changed, 0 insertions, 70 deletions
diff --git a/html/build.gradle b/html/build.gradle
deleted file mode 100644
index 1ae1ec2..0000000
--- a/html/build.gradle
+++ /dev/null
@@ -1,70 +0,0 @@
-apply plugin: "java"
-apply plugin: "jetty"
-
-gwt {
- gwtVersion='2.6.0' // Should match the gwt version used for building the gwt backend
- maxHeapSize="1G" // Default 256m is not enough for gwt compiler. GWT is HUNGRY
- minHeapSize="1G"
-
- src = files(file("src/")) // Needs to be in front of "modules" below.
- modules 'ch.asynk.rustanddust.GdxDefinition'
- devModules 'ch.asynk.rustanddust.GdxDefinitionSuperdev'
- project.webAppDirName = 'webapp'
-
- compiler {
- strict = true;
- enableClosureCompiler = true;
- disableCastChecking = true;
- }
-}
-
-task draftRun(type: JettyRunWar) {
- dependsOn draftWar
- dependsOn.remove('war')
- webApp=draftWar.archivePath
- daemon=true
-}
-
-task superDev(type: de.richsource.gradle.plugins.gwt.GwtSuperDev) {
- dependsOn draftRun
- doFirst {
- gwt.modules = gwt.devModules
- }
-}
-
-task dist(dependsOn: [clean, compileGwt]) {
- doLast {
- file("build/dist").mkdirs()
- copy {
- from "build/gwt/out"
- into "build/dist"
- }
- copy {
- from "webapp"
- into "build/dist"
- }
- copy {
- from "war"
- into "build/dist"
- }
- }
-}
-
-draftWar {
- from "war"
-}
-
-task addSource << {
- sourceSets.main.compileClasspath += files(project(':core').sourceSets.main.allJava.srcDirs)
-}
-
-tasks.compileGwt.dependsOn(addSource)
-tasks.draftCompileGwt.dependsOn(addSource)
-
-sourceCompatibility = 1.6
-sourceSets.main.java.srcDirs = [ "src/" ]
-
-
-eclipse.project {
- name = appName + "-html"
-}