[Build] Add internal-gradle-setup settings plugin
#KTI-1223 In Progress
This commit is contained in:
committed by
Space Team
parent
e8ab063dc9
commit
188203197b
@@ -0,0 +1,20 @@
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
id("org.jetbrains.kotlin.jvm")
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
|
||||
kotlin.jvmToolchain(8)
|
||||
|
||||
gradlePlugin {
|
||||
plugins {
|
||||
create("internal-gradle-setup") {
|
||||
id = "internal-gradle-setup"
|
||||
implementationClass = "org.jetbrains.kotlin.build.InternalGradleSetupSettingsPlugin"
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.build
|
||||
|
||||
import org.gradle.api.Plugin
|
||||
import org.gradle.api.initialization.Settings
|
||||
|
||||
abstract class InternalGradleSetupSettingsPlugin : Plugin<Settings> {
|
||||
override fun apply(target: Settings) {
|
||||
}
|
||||
}
|
||||
@@ -24,6 +24,7 @@ include(":build-cache")
|
||||
include(":gradle-enterprise")
|
||||
include(":jvm-toolchain-provisioning")
|
||||
include(":kotlin-daemon-config")
|
||||
include(":internal-gradle-setup")
|
||||
|
||||
// Unfortunately it is not possible to apply build-cache.settings.gradle.kts as script compilation
|
||||
// could not then find types from "kotlin-build-gradle-plugin"
|
||||
|
||||
@@ -20,6 +20,7 @@ plugins {
|
||||
id "gradle-enterprise"
|
||||
id "jvm-toolchain-provisioning"
|
||||
id "kotlin-daemon-config"
|
||||
id "internal-gradle-setup"
|
||||
}
|
||||
|
||||
def buildProperties = BuildPropertiesKt.getKotlinBuildPropertiesForSettings(settings)
|
||||
|
||||
Reference in New Issue
Block a user