File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed
Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 1515 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1616 */
1717
18+ /*
19+ * This has to be here... It will not be taken into account in common.gradle!
20+ *
21+ * Looks like a serious bug... See also:
22+ *
23+ * http://forums.gradle.org/gradle/topics/buildscript_in_subprojects_ignored
24+ *
25+ * We also use Spring's propdeps plugin to have a _real_ provided scope. See:
26+ *
27+ * https://github.com/spring-projects/gradle-plugins/tree/master/propdeps-plugin
28+ */
29+ buildscript {
30+ repositories {
31+ maven {
32+ url " http://repo.springsource.org/plugins-release" ;
33+ }
34+ }
35+ dependencies {
36+ classpath(group : " org.springframework.build.gradle" ,
37+ name : " propdeps-plugin" , version : " 0.0.5" );
38+ }
39+ };
40+
41+ configure(allprojects) {
42+ apply(plugin : " propdeps" );
43+ apply(plugin : " propdeps-maven" );
44+ apply(plugin : " propdeps-idea" );
45+ apply(plugin : " propdeps-eclipse" );
46+ }
47+
1848apply(plugin : " java" );
1949apply(plugin : " maven" );
2050apply(plugin : " signing" );
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ project.ext {
1414 * List of dependencies
1515 */
1616dependencies {
17- // FIXME: need to make this "provided" eventually, when gradle supports it
18- compile( group : " com.google.code.findbugs " , name : " jsr305 " , version : " 2.0.1" );
17+ provided( group : " com.google.code.findbugs " , name : " jsr305 " ,
18+ version : " 2.0.1" );
1919}
2020
2121javadoc. options. links(" http://docs.oracle.com/javase/6/docs/api" );
You can’t perform that action at this time.
0 commit comments