mirror of
				https://gitea.com/actions/setup-java.git
				synced 2025-11-04 07:47:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			346 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			346 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
plugins {
 | 
						|
    id 'java'
 | 
						|
}
 | 
						|
repositories {
 | 
						|
    mavenCentral()
 | 
						|
}
 | 
						|
dependencies {
 | 
						|
    implementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
 | 
						|
}
 | 
						|
tasks.register('downloadDependencies') {
 | 
						|
    doLast {
 | 
						|
        def total = configurations.compileClasspath.inject (0) { sum, file ->
 | 
						|
            sum + file.length()
 | 
						|
        }
 | 
						|
        println total
 | 
						|
    }
 | 
						|
}
 |