Skip to content

Commit c431f49

Browse files
committedAug 25, 2020
Adds allow-jvm-ir-dependencies compiler arg to all samples
Change-Id: I8a5a5c64359dfd0913bd0d24cf0c4d36f794b3eb
1 parent 0a6bfaf commit c431f49

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed
 

‎JetNews/app/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
8989
freeCompilerArgs += '-Xopt-in=kotlin.RequiresOptIn'
9090
// Enable experimental coroutines APIs, including Flow
9191
freeCompilerArgs += '-Xopt-in=kotlin.Experimental'
92+
freeCompilerArgs += '-Xallow-jvm-ir-dependencies'
93+
9294
// Set JVM target to 1.8
9395
jvmTarget = "1.8"
9496
}

‎Jetchat/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ subprojects {
7272
freeCompilerArgs += '-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi'
7373
freeCompilerArgs += '-Xopt-in=kotlinx.coroutines.FlowPreview'
7474
freeCompilerArgs += '-Xopt-in=kotlin.Experimental'
75+
freeCompilerArgs += '-Xallow-jvm-ir-dependencies'
7576

7677
// Set JVM target to 1.8
7778
jvmTarget = "1.8"

‎Rally/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ subprojects {
7171
freeCompilerArgs += '-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi'
7272
freeCompilerArgs += '-Xopt-in=kotlinx.coroutines.FlowPreview'
7373
freeCompilerArgs += '-Xopt-in=kotlin.Experimental'
74+
freeCompilerArgs += '-Xallow-jvm-ir-dependencies'
7475

7576
// Set JVM target to 1.8
7677
jvmTarget = "1.8"

0 commit comments

Comments
 (0)
Please sign in to comment.