Fix entry point in the coverage sample

This commit is contained in:
Ilya Matveev
2019-03-15 14:38:54 +07:00
committed by Nikolay Igotti
parent 0d8cbb7708
commit feabe3b271
3 changed files with 6 additions and 4 deletions
+1
View File
@@ -53,6 +53,7 @@ task buildSamplesWithPlatformLibs() {
dependsOn ':objc:assemble'
dependsOn ':opengl:assemble'
dependsOn ':uikit:assemble'
dependsOn ':coverage:assemble'
}
if (MPPTools.isWindows()) {
+1 -3
View File
@@ -21,9 +21,7 @@ kotlin {
macosX64("macos") {
binaries {
executable(listOf(DEBUG)) {
entryPoint = "coverage.main"
}
executable(listOf(DEBUG))
}
binaries.getExecutable("test", DEBUG).apply {
freeCompilerArgs = mutableListOf(
+4 -1
View File
@@ -17,7 +17,10 @@ pluginManagement {
enableFeaturePreview('GRADLE_METADATA')
/*
* The following projects are only available for certain platforms:
* The following projects are only available for certain platforms.
*
* IMPORTANT: If a new sample doesn't include interop with third-party libraries,
* add it into the 'buildSamplesWithPlatfromLibs' task in the root build.gradle.
*/
if (MPPTools.isMacos() || MPPTools.isLinux() || MPPTools.isWindows()) {
include ':csvparser'