Enable kotlin-native in space dev environment

This commit is contained in:
Vyacheslav Gerasimov
2022-02-04 12:21:25 +03:00
parent b1255d78a2
commit 260e6fc369
+9 -2
View File
@@ -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 <<EOF > local.properties
kotlin.native.enabled=true
EOF
./gradlew classes testClasses assemble dist -Dscan.uploadInBackground=false