diff --git a/gradle.properties b/gradle.properties index 87c096c..adfb7dd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,4 +5,5 @@ org.gradle.vfs.watch=true org.gradle.daemon=false org.gradle.jvmargs=-Xmx10g -Dfile.encoding=UTF-8 kotlin.incremental=true - +systemProp.org.gradle.internal.http.connectionTimeout=10000 +systemProp.org.gradle.internal.http.socketTimeout=10000 \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 76ce204..d931ee7 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1 +1,19 @@ +pluginManagement { + repositories { + mavenCentral() + gradlePluginPortal() + } + + resolutionStrategy { + eachPlugin { + when (requested.id.id) { + "org.springframework.boot" -> + useModule("org.springframework.boot:spring-boot-gradle-plugin:${requested.version}") + "io.spring.dependency-management" -> + useModule("io.spring.gradle:dependency-management-plugin:${requested.version}") + } + } + } +} + rootProject.name = "TrisolarisServer"