samples: Remove 'for_bundle' version of gradle files
This commit is contained in:
+14
-4
@@ -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'
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
konan.home=../..
|
||||
konan.jvmArgs=-Xmx3G
|
||||
@@ -1,10 +0,0 @@
|
||||
include ':csvparser'
|
||||
include ':gitchurn'
|
||||
include ':gtk'
|
||||
include ':libcurl'
|
||||
include ':nonBlockingEchoServer'
|
||||
include ':opengl'
|
||||
include ':socket'
|
||||
include ':tetris'
|
||||
include ':tensorflow'
|
||||
include ':concurrent'
|
||||
Reference in New Issue
Block a user