Enable kotlin-native in space dev environment
This commit is contained in:
+9
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user