Files
kotlin-fork/libraries/tools/gradle/regression-benchmarks/benchmarkScripts/files/graphql-kotlin-repo.patch
T
Yahor Berdnikau 3f4c824a23 Run benchmarks in the same suite
This should reduce variation in results, especially when overall time is
 quite low.
2023-01-30 12:43:12 +00:00

56 lines
1.4 KiB
Diff

diff --git a/build.gradle.kts b/build.gradle.kts
index 22383a2ff..9869bd429 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -20,19 +20,15 @@ plugins {
allprojects {
buildscript {
repositories {
- mavenCentral()
mavenLocal()
+ mavenCentral()
}
}
repositories {
+ mavenLocal()
mavenCentral()
google()
- mavenLocal {
- content {
- includeGroup("com.expediagroup")
- }
- }
}
}
diff --git a/gradle.properties b/gradle.properties
index 314ccfb8c..ee33f75bc 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -15,7 +15,7 @@ org.gradle.jvmargs=-Xmx2g -XX:+HeapDumpOnOutOfMemoryError
# dependencies
kotlinJvmVersion = 1.8
-kotlinVersion = 1.6.21
+kotlinVersion = <kotlin_version>
kotlinCoroutinesVersion = 1.6.4
# kotlinx-serialization 1.3.3 calls Kotlin 1.7 API
kotlinxSerializationVersion = 1.3.2
diff --git a/settings.gradle.kts b/settings.gradle.kts
index f6fa7cee5..5bbb4828a 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -9,6 +9,11 @@ pluginManagement {
val pluginPublishPluginVersion: String by settings
val springBootVersion: String by settings
+ repositories {
+ mavenLocal()
+ gradlePluginPortal()
+ }
+
plugins {
kotlin("jvm") version kotlinVersion
kotlin("kapt") version kotlinVersion