Skip to content

Commit

Permalink
Use kotlinCompilerRepo for calculator sample
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelPunegov committed Dec 16, 2020
1 parent a8f71c9 commit 7bee596
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions samples/calculator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ buildscript {
mavenCentral()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
if (project.hasProperty("kotlinCompilerRepo")) {
maven { setUrl(project.property("kotlinCompilerRepo")) }
}
}

dependencies {
Expand All @@ -20,5 +23,8 @@ allprojects {
mavenCentral()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
if (project.hasProperty("kotlinCompilerRepo")) {
maven { setUrl(project.property("kotlinCompilerRepo")) }
}
}
}
3 changes: 3 additions & 0 deletions samples/calculator/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ org.gradle.workers.max=4
# CHANGE_VERSION_WITH_RELEASE
kotlin_version=1.4.10

# Sets maven path for the kotlin version other than release
#kotlinCompilerRepo=

# Use custom Kotlin/Native home:
kotlin.native.home=../../../dist

Expand Down

0 comments on commit 7bee596

Please sign in to comment.