Remove Gradle plugin variants from ':kotlin-gradle-statistics'
Code does not use any Gradle API imports and does not use any KGP API classes.
This commit is contained in:
committed by
Space Team
parent
92509ad400
commit
5c8b8bf009
@@ -1,11 +1,22 @@
|
|||||||
|
import plugins.KotlinBuildPublishingPlugin.Companion.DEFAULT_MAIN_PUBLICATION_NAME
|
||||||
|
import plugins.signLibraryPublication
|
||||||
|
|
||||||
description = "kotlin-gradle-statistics"
|
description = "kotlin-gradle-statistics"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("gradle-plugin-dependency-configuration")
|
`java-library`
|
||||||
|
id("org.jetbrains.kotlin.jvm")
|
||||||
id("jps-compatible")
|
id("jps-compatible")
|
||||||
|
`maven-publish`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configureKotlinCompileTasksGradleCompatibility()
|
||||||
|
configureCommonPublicationSettingsForGradle(signLibraryPublication)
|
||||||
|
extensions.extraProperties["kotlin.stdlib.default.dependency"] = "false"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
compileOnly(kotlinStdlib())
|
||||||
|
|
||||||
testImplementation(project(":kotlin-test:kotlin-test-junit"))
|
testImplementation(project(":kotlin-test:kotlin-test-junit"))
|
||||||
testImplementation(commonDependency("junit"))
|
testImplementation(commonDependency("junit"))
|
||||||
}
|
}
|
||||||
@@ -13,3 +24,11 @@ dependencies {
|
|||||||
projectTest {
|
projectTest {
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
register<MavenPublication>(DEFAULT_MAIN_PUBLICATION_NAME) {
|
||||||
|
from(components["java"])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user