Code Monkey home page Code Monkey logo

Comments (2)

komasoftware avatar komasoftware commented on July 24, 2024

It seems to work so far (initial testing)

buildscript {
        repositories {    jcenter() //repository where to fetch gwt gradle plugin
        }
        dependencies { classpath "de.richsource.gradle.plugins:gwt-gradle-plugin:0.6" // GWT
        }

}

repositories {
                                mavenCentral()
                                maven {
          url "https://oss.sonatype.org/content/repositories/google-snapshots/"
    }
}


apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "gwt"
apply plugin: "war"

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8


sourceSets {
        main {
                java {
                        srcDir "src/main/java"
                }
        }
}

compileJava{
        //enable incremental compilation
        options.incremental = true
        //options.compilerArgs += ["-verbose"]
}

dependencies {

        compile "org.hibernate:hibernate-validator:4.2.0.Final"
        compile "org.hibernate:hibernate-validator:4.2.0.Final:sources"
}

gwt {

        gwtVersion "2.8.0-SNAPSHOT"

        eclipse.addGwtContainer = false;

        minHeapSize = "512M";
        maxHeapSize = "4096M";

        // dev { noserver = true }

        // test { hasGwtTests = false }

}

But specifying eclipse.addGwtContainer = true; adds a GWT 2.7 container.

from gwt-gradle-plugin.

 avatar commented on July 24, 2024

There is a new "-generateJsInteropExports" flag that can be passed too, see: https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/edit#heading=h.lsr32vixbrnm

from gwt-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.