diff --git a/Interop/StubGenerator/build.gradle b/Interop/StubGenerator/build.gradle index f66cc077d95..d4b8b3e9d08 100644 --- a/Interop/StubGenerator/build.gradle +++ b/Interop/StubGenerator/build.gradle @@ -37,7 +37,7 @@ dependencies { api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" api "org.jetbrains.kotlin:kotlin-compiler:$kotlinVersion" api "org.jetbrains.kotlin:kotlin-native-shared:$konanVersion" - api "org.jetbrains.kotlinx:kotlinx-metadata-klib:0.0.1-dev-10" + api "org.jetbrains.kotlinx:kotlinx-metadata-klib:$metadataVersion" testImplementation "junit:junit:4.12" testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$buildKotlinVersion" diff --git a/build-tools/build.gradle.kts b/build-tools/build.gradle.kts index 028553552d2..1b78f7ea079 100644 --- a/build-tools/build.gradle.kts +++ b/build-tools/build.gradle.kts @@ -30,6 +30,10 @@ val kotlinCompilerRepo: String by rootProperties val buildKotlinVersion: String by rootProperties val buildKotlinCompilerRepo: String by rootProperties val konanVersion: String by rootProperties +val slackApiVersion: String by rootProperties +val ktorVersion: String by rootProperties +val shadowVersion: String by rootProperties +val metadataVersion: String by rootProperties group = "org.jetbrains.kotlin" version = konanVersion @@ -50,19 +54,19 @@ dependencies { implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion") implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion") - implementation("com.ullink.slack:simpleslackapi:1.2.0") + implementation("com.ullink.slack:simpleslackapi:$slackApiVersion") - implementation("io.ktor:ktor-client-auth:1.2.1") - implementation("io.ktor:ktor-client-core:1.2.1") - implementation("io.ktor:ktor-client-cio:1.2.1") + implementation("io.ktor:ktor-client-auth:$ktorVersion") + implementation("io.ktor:ktor-client-core:$ktorVersion") + implementation("io.ktor:ktor-client-cio:$ktorVersion") api("org.jetbrains.kotlin:kotlin-native-utils:$kotlinVersion") // Located in /shared and always provided by the composite build. api("org.jetbrains.kotlin:kotlin-native-shared:$konanVersion") - implementation("com.github.jengelman.gradle.plugins:shadow:5.1.0") + implementation("com.github.jengelman.gradle.plugins:shadow:$shadowVersion") - implementation("org.jetbrains.kotlinx:kotlinx-metadata-klib:0.0.1-dev-10") + implementation("org.jetbrains.kotlinx:kotlinx-metadata-klib:$metadataVersion") } sourceSets["main"].withConvention(KotlinSourceSet::class) { diff --git a/gradle.properties b/gradle.properties index 438f144cb5c..cdf5319e6de 100644 --- a/gradle.properties +++ b/gradle.properties @@ -37,6 +37,10 @@ gtestRevision=07f4869221012b16b7f9ee685d94856e1fc9f361 org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.workers.max=4 +slackApiVersion=1.2.0 +ktorVersion=1.2.1 +shadowVersion=5.1.0 +metadataVersion=0.0.1-dev-10 # Uncomment to enable composite build #kotlinProjectPath=