Revert "[K/N][build] Cleanup obsolete build tasks"

This reverts commit a9cae3fe87.
This commit is contained in:
Nikolay Krasko
2023-02-14 10:07:58 +01:00
committed by teamcity
parent 0470a9568d
commit 2ad567e14c
15 changed files with 598 additions and 24 deletions
+24 -1
View File
@@ -38,11 +38,21 @@ buildscript {
}
dependencies {
//classpath project(":kotlin-native-utils")
classpath 'gradle.plugin.com.github.johnrengelman:shadow:7.1.2'
}
}
import org.jetbrains.kotlin.konan.*
defaultTasks 'clean', 'dist'
// Allows generating wrappers for the root build and all the samples during execution of the default 'wrapper' task.
// Run './gradlew wrapper --gradle-version <version>' to update all the wrappers.
//apply plugin: org.jetbrains.kotlin.GradleWrappers
//
//wrappers.projects = ['samples', 'samples/calculator', 'samples/cocoapods/kotlin-library']
//wrapper.distributionType = Wrapper.DistributionType.ALL
// FIXME: Remove until IDEA-231214 is fixed.
//defaultTasks 'clean', 'dist'
convention.plugins.platformInfo = PlatformInfo
@@ -148,6 +158,7 @@ dependencies {
distPack project(':kotlin-native:utilities:basic-utils')
distPack project(':kotlin-native:klib')
distPack project(path: ':kotlin-native:endorsedLibraries:kotlinx.cli', configuration: "jvmRuntimeElements")
//distPack "org.jetbrains.kotlin:kotlin-native-shared:$konanVersion"
commonSources project(path: ':kotlin-stdlib-common', configuration: 'sources')
commonSources project(path: ':kotlin-test:kotlin-test-common', configuration: 'sources')
commonSources project(path: ':kotlin-test:kotlin-test-annotations-common', configuration: 'sources')
@@ -160,6 +171,18 @@ apply plugin: GitClangFormatPlugin
apply plugin: 'maven-publish'
apply plugin: BasePlugin
//task sharedJar {
// dependsOn gradle.includedBuild('shared').task(':jar')
//}
//task gradlePluginJar {
// dependsOn gradle.includedBuild('kotlin-native-gradle-plugin').task(':shadowJar')
//}
//task gradlePluginCheck {
// dependsOn gradle.includedBuild('kotlin-native-gradle-plugin').task(':check')
//}
task dist_compiler(dependsOn: "distCompiler")
task dist_runtime(dependsOn: "distRuntime")
task cross_dist(dependsOn: "crossDist")