From 260e6fc369b9b7cdacce7cd15cf8ce6066c9bf70 Mon Sep 17 00:00:00 2001 From: Vyacheslav Gerasimov Date: Fri, 4 Feb 2022 12:21:25 +0300 Subject: [PATCH] Enable kotlin-native in space dev environment --- dev-env-warmup.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-env-warmup.sh b/dev-env-warmup.sh index 1bee400047c..afae02c1f5c 100644 --- a/dev-env-warmup.sh +++ b/dev-env-warmup.sh @@ -1,11 +1,18 @@ #!/bin/bash - # Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors. # Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. # +set -e -x -u + +#setup gradle enterprise mkdir -p ~/.gradle echo "kotlin.build.scan.url=https://ge.jetbrains.com/" >> ~/.gradle/gradle.properties echo "kotlin.build.cache.url=https://ge.jetbrains.com/cache/" >> ~/.gradle/gradle.properties -./gradlew classes testClasses -Dscan.uploadInBackground=false +#enable kotlin-native +cat < local.properties +kotlin.native.enabled=true +EOF + +./gradlew classes testClasses assemble dist -Dscan.uploadInBackground=false