Disable torch and tensorflow samples
This commit is contained in:
@@ -26,7 +26,6 @@ task buildSamplesWithPlatformLibs() {
|
|||||||
dependsOn ':objc:build'
|
dependsOn ':objc:build'
|
||||||
dependsOn ':opengl:build'
|
dependsOn ':opengl:build'
|
||||||
dependsOn ':socket:build'
|
dependsOn ':socket:build'
|
||||||
dependsOn ':tensorflow:build'
|
|
||||||
dependsOn ':uikit:build'
|
dependsOn ':uikit:build'
|
||||||
dependsOn ':win32:build'
|
dependsOn ':win32:build'
|
||||||
dependsOn ':workers:build'
|
dependsOn ':workers:build'
|
||||||
|
|||||||
@@ -25,6 +25,11 @@ konanArtifacts {
|
|||||||
|
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
def localMavenRepo="file://${new File(System.properties['user.home'] as String)}/.m2-kotlin-native"
|
def localMavenRepo="file://${new File(System.properties['user.home'] as String)}/.m2-kotlin-native"
|
||||||
|
|
||||||
|
task cleanLocalRepo(type: Delete) {
|
||||||
|
delete localMavenRepo
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications{
|
publications{
|
||||||
libcurl(MavenPublication) {
|
libcurl(MavenPublication) {
|
||||||
|
|||||||
@@ -10,8 +10,9 @@ include ':nonBlockingEchoServer'
|
|||||||
include ':opengl'
|
include ':opengl'
|
||||||
include ':socket'
|
include ':socket'
|
||||||
include ':tetris'
|
include ':tetris'
|
||||||
include ':tensorflow'
|
// ML samples have non-trivial deps, disable from here.
|
||||||
include ':torch'
|
// include ':tensorflow'
|
||||||
|
// include ':torch'
|
||||||
// Android native activity build requires Android SDK.
|
// Android native activity build requires Android SDK.
|
||||||
// So temporary switching off for now, as it breaks the build
|
// So temporary switching off for now, as it breaks the build
|
||||||
// of other samples if SDK is not present.
|
// of other samples if SDK is not present.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url 'https://cache-redirector.jetbrains.com/maven-central'
|
||||||
|
}
|
||||||
|
maven {
|
||||||
|
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:${project.property('konan.plugin.version')}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
apply plugin: 'konan'
|
apply plugin: 'konan'
|
||||||
|
|
||||||
konan.targets = ['macbook', 'linux']
|
konan.targets = ['macbook', 'linux']
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
konan.home=../../dist
|
||||||
|
konan.plugin.version=+
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
enableFeaturePreview('GRADLE_METADATA')
|
||||||
|
|
||||||
|
includeBuild '../../shared'
|
||||||
|
includeBuild '../../tools/kotlin-native-gradle-plugin'
|
||||||
@@ -1,3 +1,18 @@
|
|||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url 'https://cache-redirector.jetbrains.com/maven-central'
|
||||||
|
}
|
||||||
|
maven {
|
||||||
|
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:${project.property('konan.plugin.version')}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
apply plugin: 'konan'
|
apply plugin: 'konan'
|
||||||
|
|
||||||
konan.targets = ['macbook', 'linux']
|
konan.targets = ['macbook', 'linux']
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
konan.home=../../dist
|
||||||
|
konan.plugin.version=+
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
enableFeaturePreview('GRADLE_METADATA')
|
||||||
|
|
||||||
|
includeBuild '../../shared'
|
||||||
|
includeBuild '../../tools/kotlin-native-gradle-plugin'
|
||||||
Reference in New Issue
Block a user