简体   繁体   中英

Can't Add grails gwt plugin to grails 2.4

When I am modifying the BuildConfig.groovy and add plugin using compile ":org.grails.plugins:gwt:1.0.3" then update grails dependencies I got following error.

java.lang.IllegalArgumentException: Bad artifact coordinates :org.grails.plugins:gwt:1.0.3

Any help regarding to this.

Docs recommend:

build ":extended-dependency-manager:0.5.5"
compile ":gwt:1.0.3", {
    transitive=false
}

Also you need to specify gwt version in BuildConfig.groovy:

gwt {
    version="2.8.0"
}

And it requires resources plugin:

runtime "org.grails.plugins:resources:1.2.14"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM