Commit 38352a0b authored by 郭燕飞's avatar 郭燕飞 💬

gradle 5.0之后,老的这种写法被remove了,在idea里面构建会报错

parent 681fa697
...@@ -113,8 +113,10 @@ subprojects { ...@@ -113,8 +113,10 @@ subprojects {
archives sourcesJar archives sourcesJar
} }
task listJars(description: "Display all compile jars.") << { task listJars(description: 'Display all compile jars.') {
doLast {
configurations.compile.each { File file -> println file.name } configurations.compile.each { File file -> println file.name }
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment