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