mirror of
https://github.com/Anvilcraft/modpacktools
synced 2024-05-19 20:04:07 +02:00
Snapshots are now cached for only 5 minutes
This commit is contained in:
parent
069b2896e6
commit
7011f19200
|
@ -3,9 +3,7 @@ import org.gradle.api.JavaVersion.VERSION_1_8
|
|||
import org.gradle.jvm.tasks.Jar
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinTest
|
||||
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.HTML
|
||||
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.JSON
|
||||
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.PLAIN
|
||||
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.*
|
||||
|
||||
//settings for manifest and stuff
|
||||
val specTitle = "ModPackTools"
|
||||
|
@ -70,6 +68,10 @@ dependencies {
|
|||
testImplementation("junit:junit:4.12")
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy.cacheDynamicVersionsFor(5, "minutes")
|
||||
}
|
||||
|
||||
//This exists so options can be set for test compile and compile at once
|
||||
val kOptions = {obj: GroovyObject ->
|
||||
|
||||
|
|
Loading…
Reference in a new issue