mirror of
https://github.com/Anvilcraft/modpacktools
synced 2024-06-10 22:49:26 +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.gradle.jvm.tasks.Jar
|
||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinTest
|
import org.jetbrains.kotlin.gradle.tasks.KotlinTest
|
||||||
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.HTML
|
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.*
|
||||||
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.JSON
|
|
||||||
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.PLAIN
|
|
||||||
|
|
||||||
//settings for manifest and stuff
|
//settings for manifest and stuff
|
||||||
val specTitle = "ModPackTools"
|
val specTitle = "ModPackTools"
|
||||||
|
@ -70,6 +68,10 @@ dependencies {
|
||||||
testImplementation("junit:junit:4.12")
|
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
|
//This exists so options can be set for test compile and compile at once
|
||||||
val kOptions = {obj: GroovyObject ->
|
val kOptions = {obj: GroovyObject ->
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue