samples: Remove 'for_bundle' version of gradle files

This commit is contained in:
Ilya Matveev
2017-12-18 17:31:50 +07:00
committed by ilmat192
parent 92e666f023
commit 13fcaefa00
3 changed files with 14 additions and 16 deletions
+14 -4
View File
@@ -379,19 +379,29 @@ task bundle(type: (isWindows()) ? Zip : Tar) {
into baseName
}
from(project.rootDir) {
include 'samples/**'
include 'INTEROP.md'
include 'RELEASE_NOTES.md'
include 'GRADLE_PLUGIN.md'
include 'PLATFORM_LIBS.md'
exclude '**/gradle.properties'
exclude '**/settings.gradle'
include 'samples/**'
exclude 'samples/gradle.properties'
exclude 'samples/settings.gradle'
exclude '**/build'
exclude '**/.gradle'
exclude 'samples/**/*.kt.bc-build'
rename('(.*)\\.for_bundle', '$1')
into baseName
}
from(project.file("samples/settings.gradle")) {
into "$baseName/samples"
filter { it.startsWith("includeBuild") ? null : it }
}
from(project.file("samples/gradle.properties")) {
into "$baseName/samples"
filter { it.startsWith("konan.home=") ? "konan.home=../.." : it }
}
destinationDir = file('.')
if (!isWindows()) {
extension = 'tar.gz'
-2
View File
@@ -1,2 +0,0 @@
konan.home=../..
konan.jvmArgs=-Xmx3G
-10
View File
@@ -1,10 +0,0 @@
include ':csvparser'
include ':gitchurn'
include ':gtk'
include ':libcurl'
include ':nonBlockingEchoServer'
include ':opengl'
include ':socket'
include ':tetris'
include ':tensorflow'
include ':concurrent'