Skip to content

Commit 5711e3f

Browse files
committed
Don't publish the Javadoc jar in the JS target publication with Huanshankeji Gradle Plugins 0.4.0
A corresponding commit: huanshankeji/gradle-common@d0c40d4
1 parent 5ccb0a5 commit 5711e3f

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

buildSrc/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@ plugins {
22
`kotlin-dsl`
33
}
44
repositories {
5-
//mavenLocal()
5+
mavenLocal()
66
gradlePluginPortal()
77
//maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
88
}
99

1010
val kotlinVersion = "1.8.10"
11+
val huanshankejiGradlePluginsVersion = "0.4.0"
1112

1213
dependencies {
1314
implementation(kotlin("gradle-plugin", kotlinVersion))
1415
implementation("org.jetbrains.compose:compose-gradle-plugin:1.3.1")
15-
implementation("com.huanshankeji:kotlin-common-gradle-plugins:0.3.2")
16-
implementation("com.huanshankeji.team:gradle-plugins:0.3.2")
16+
implementation("com.huanshankeji:kotlin-common-gradle-plugins:$huanshankejiGradlePluginsVersion")
17+
implementation("com.huanshankeji.team:gradle-plugins:$huanshankejiGradlePluginsVersion")
1718
}
1819

1920
configurations.all {

buildSrc/src/main/kotlin/lib-conventions.gradle.kts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import org.gradle.kotlin.dsl.*
77
plugins {
88
id("com.huanshankeji.kotlin-multiplatform-js-browser-conventions")
99
id("org.jetbrains.compose")
10-
id("com.huanshankeji.sonatype-ossrh-publish")
10+
id("com.huanshankeji.kotlin-multiplatform-sonatype-ossrh-publish-conventions")
1111
}
1212

1313
repositories {
@@ -16,11 +16,3 @@ repositories {
1616

1717
group = "com.huanshankeji"
1818
version = projectVersion
19-
20-
val javadocJar by tasks.registering(Jar::class) {
21-
archiveClassifier.set("javadoc")
22-
}
23-
24-
publishing.publications.withType<MavenPublication> {
25-
artifact(javadocJar)
26-
}

0 commit comments

Comments
 (0)