提交 36e5b8f5 编写于 作者: J Justin Ryan

Adding provided scope

Conflicts:
	gradle/convention.gradle
上级 66ff83f7
......@@ -54,6 +54,20 @@ subprojects { project ->
// Ensure output is on a new line
javadoc.doFirst { println "" }
configurations {
provided {
description = 'much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive.'
transitive = false
visible = false
}
}
project.sourceSets {
main.compileClasspath += project.configurations.provided
main.runtimeClasspath -= project.configurations.provided
test.compileClasspath += project.configurations.provided
test.runtimeClasspath += project.configurations.provided
}
}
task aggregateJavadoc(type: Javadoc) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册