-
Notifications
You must be signed in to change notification settings - Fork 765
Gradle Overlay How To
Aleksei Lissitsin edited this page May 21, 2015
·
1 revision
If you are using Gradle, it is easy to create an overlay project using standard Gradle means. Here is an example build.gradle
:
apply plugin: 'war'
repositories {
mavenCentral()
}
configurations {
overlay {
transitive = false
}
}
dependencies {
overlay('org.mitre:openid-connect-server-webapp:1+')
}
war {
duplicatesStrategy = 'exclude'
configurations.overlay.filter({it.name.endsWith(".war")}).each {
from zipTree(it)
}
}
Software is available under the Apache 2.0 license. Documentation available under the Creative Commons 3.0 By-NC license.