File tree 4 files changed +2
-54
lines changed
libraries/tools/kotlin-dist-for-jps-meta
plugins/kotlinx-serialization
repo/artifacts-tests/src/test/resources/org/jetbrains/kotlin
kotlin-maven-serialization-for-jps-avoid-using-this
4 files changed +2
-54
lines changed Original file line number Diff line number Diff line change 130
130
</dependency >
131
131
<dependency >
132
132
<groupId >${project.groupId} </groupId >
133
- <artifactId >kotlin-maven-serialization-for-jps-avoid-using-this </artifactId >
133
+ <artifactId >kotlin-maven-serialization</artifactId >
134
134
<version >${project.version} </version >
135
135
</dependency >
136
136
<dependency >
Original file line number Diff line number Diff line change 1
- import org.gradle.api.publish.internal.PublicationInternal
2
1
import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
3
2
import org.jetbrains.kotlin.gradle.targets.js.KotlinJsCompilerAttribute
4
- import plugins.KotlinBuildPublishingPlugin.Companion.ADHOC_COMPONENT_NAME
5
- import plugins.configureKotlinPomAttributes
6
3
7
4
description = " Kotlin Serialization Compiler Plugin"
8
5
@@ -136,24 +133,3 @@ fun Test.setUpJsIrBoxTests() {
136
133
systemProperty(" serialization.json.path" , localJsJsonRuntimeForTests.asPath)
137
134
}
138
135
}
139
-
140
- // region Workaround for KT-76495 and KTIJ-33877
141
- val publications: PublicationContainer = extensions.getByType<PublishingExtension >().publications
142
- val jpsCompatArtifactId = " kotlin-maven-serialization-for-jps-avoid-using-this"
143
- val jpsCompatPublication = publications.register<MavenPublication >(" jpsCompat" ) {
144
- artifactId = jpsCompatArtifactId
145
- from(components[ADHOC_COMPONENT_NAME ])
146
-
147
- // Workaround for https://github.com/gradle/gradle/issues/12324
148
- (this as PublicationInternal <* >).isAlias = true
149
- configureKotlinPomAttributes(
150
- project,
151
- explicitDescription = " A workaround for KT-76495 and KTIJ-33877. Avoid depending on this artifact as it can be removed without prior notice."
152
- )
153
- }
154
- configureSbom(
155
- target = " ${jpsCompatPublication.name.capitalize()} Publication" ,
156
- documentName = jpsCompatArtifactId,
157
- publication = jpsCompatPublication
158
- )
159
- // endregion
Original file line number Diff line number Diff line change 130
130
</dependency >
131
131
<dependency >
132
132
<groupId >${project.groupId}</groupId >
133
- <artifactId >kotlin-maven-serialization-for-jps-avoid-using-this </artifactId >
133
+ <artifactId >kotlin-maven-serialization</artifactId >
134
134
<version >${project.version}</version >
135
135
</dependency >
136
136
<dependency >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments