setup-graalvm/__tests__/cache/gradle/build.gradle
Fabio Niephaus f47d45565a
Add support for dependency caching.
- Fork relevant bits from https://github.com/actions/setup-java
- Use Node.js 16
- Adjust packaging
- Update uuid and other dependencies

Closes #11
2022-08-31 10:20:03 +02:00

18 lines
337 B
Groovy

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
}
}