mirror of
				https://github.com/gradle/gradle-build-action.git
				synced 2025-11-04 09:58:56 +08:00 
			
		
		
		
	Automatic caching of dependencies
in a best effort manner by default allowing to specify files to hash for computing the cache key
This commit is contained in:
		@@ -1,6 +1,11 @@
 | 
			
		||||
/*
 | 
			
		||||
 * This file was generated by the Gradle 'init' task.
 | 
			
		||||
 *
 | 
			
		||||
 * This is a general purpose Gradle build.
 | 
			
		||||
 * Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds
 | 
			
		||||
 */
 | 
			
		||||
plugins {
 | 
			
		||||
    id 'java'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
repositories {
 | 
			
		||||
    mavenCentral()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
dependencies {
 | 
			
		||||
    testImplementation('junit:junit:4.12')
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								__tests__/data/basic/src/test/java/basic/BasicTest.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								__tests__/data/basic/src/test/java/basic/BasicTest.java
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
package basic;
 | 
			
		||||
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
 | 
			
		||||
public class BasicTest {
 | 
			
		||||
    @Test
 | 
			
		||||
    public void test() {
 | 
			
		||||
        assert true;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user