Enable experimental API (CancellationException) in ObjC export tests
(cherry picked from commit 2e4d907a93de7c599889a81da0d66dc19ba68ef7)
This commit is contained in:
committed by
Vasily Levchenko
parent
43877a504c
commit
f85da287e6
@@ -4177,7 +4177,7 @@ if (isAppleTarget(project)) {
|
|||||||
framework(frameworkName) {
|
framework(frameworkName) {
|
||||||
sources = ['objcexport']
|
sources = ['objcexport']
|
||||||
library = libraryName
|
library = libraryName
|
||||||
opts = ["-Xemit-lazy-objc-header=$lazyHeader"]
|
opts = ["-Xemit-lazy-objc-header=$lazyHeader", "-Xopt-in=kotlin.ExperimentalStdlibApi"]
|
||||||
}
|
}
|
||||||
swiftSources = ['objcexport']
|
swiftSources = ['objcexport']
|
||||||
}
|
}
|
||||||
@@ -4208,6 +4208,7 @@ if (isAppleTarget(project)) {
|
|||||||
artifact = frameworkArtifactName
|
artifact = frameworkArtifactName
|
||||||
library = libraryName
|
library = libraryName
|
||||||
isStatic = true
|
isStatic = true
|
||||||
|
opts = ['-Xstatic-framework', "-Xopt-in=kotlin.ExperimentalStdlibApi"]
|
||||||
}
|
}
|
||||||
swiftSources = ['objcexport']
|
swiftSources = ['objcexport']
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user