test: extract build.gradle to a file in __tests__ dir

This commit is contained in:
Kengo TODA 2021-07-14 19:41:16 +08:00
parent f537562e33
commit b047f97e17
2 changed files with 19 additions and 22 deletions

17
__tests__/cache/gradle/build.gradle vendored Normal file
View file

@ -0,0 +1,17 @@
plugins {
id 'java'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.codehaus.groovy:groovy:1.8.6'
}
tasks.register('downloadDependencies') {
doLast {
def total = configurations.compileClasspath.inject (0) { sum, file ->
sum + file.length()
}
println total
}
}