Skip to content

Instantly share code, notes, and snippets.

View iboyko's full-sized avatar

Illya Graf-Boyko iboyko

  • EBCONT enterprise GmbH
  • Graz, Austria
View GitHub Profile
@iboyko
iboyko / gradle eclipse wtp
Last active December 16, 2015 19:59
Gradle: Exclude 'jsp-api' from Eclipse WTP
eclipse.wtp.component.file.whenMerged { wtpComponent ->
def toIgnore = wtpComponent.wbModuleEntries.findAll { entry ->
(entry instanceof WbDependentModule) && entry.handle.contains('jsp-api')
}
logger.info("Removing DependentModules: {}", toIgnore);
wtpComponent.wbModuleEntries.removeAll(toIgnore)
}