[jewel] IJPL-175221 Removed remains of poko compiler

GitOrigin-RevId: ebcfdcd957aa4a53991090ec1985bcf3f47b2d1e
This commit is contained in:
Jakub Senohrabek
2025-02-13 18:41:08 +00:00
committed by intellij-monorepo-bot
parent 5a2d6bd5df
commit be4e553d6b
12 changed files with 4 additions and 69 deletions
-18
View File
@@ -1,18 +0,0 @@
<component name="libraryTable">
<library name="poko-compiler-plugin" type="repository">
<properties include-transitive-deps="false" maven-id="dev.drewhamilton.poko:poko-compiler-plugin:0.18.2">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/dev/drewhamilton/poko/poko-compiler-plugin/0.18.2/poko-compiler-plugin-0.18.2.jar">
<sha256sum>08edf341dfa4dd0a9e15b83a2a74850baad3a4a3ca2f93aed05ca6a481b1f394</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/dev/drewhamilton/poko/poko-compiler-plugin/0.18.2/poko-compiler-plugin-0.18.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/dev/drewhamilton/poko/poko-compiler-plugin/0.18.2/poko-compiler-plugin-0.18.2-sources.jar!/" />
</SOURCES>
</library>
</component>
-7
View File
@@ -114,13 +114,6 @@ jvm_import(
visibility = ["//visibility:public"],
)
jvm_import(
name = "poko-compiler-plugin",
jar = "@poko-compiler-plugin//file",
source_jar = "@poko-compiler-plugin-sources//file",
visibility = ["//visibility:public"],
)
jvm_import(
name = "kotlinx-coroutines-core",
jar = "@kotlinx-coroutines-core-jvm//file",
-13
View File
@@ -194,19 +194,6 @@ http_file(
downloaded_file_path = "kotlin-compose-compiler-plugin-2.1.20-Beta2-sources.jar",
)
http_file(
name = "poko-compiler-plugin",
url = "https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/dev/drewhamilton/poko/poko-compiler-plugin/0.18.2/poko-compiler-plugin-0.18.2.jar",
sha256 = "08edf341dfa4dd0a9e15b83a2a74850baad3a4a3ca2f93aed05ca6a481b1f394",
downloaded_file_path = "poko-compiler-plugin-0.18.2.jar",
)
http_file(
name = "poko-compiler-plugin-sources",
url = "https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/dev/drewhamilton/poko/poko-compiler-plugin/0.18.2/poko-compiler-plugin-0.18.2-sources.jar",
sha256 = "02f7ac954f3a9574b37a54d7bdc79190325b9ee38a3244256a84d6d760eb6f1f",
downloaded_file_path = "poko-compiler-plugin-0.18.2-sources.jar",
)
http_file(
name = "kotlinx-coroutines-core-jvm",
url = "https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.10.1/kotlinx-coroutines-core-jvm-1.10.1.jar",
-4
View File
@@ -11,10 +11,6 @@
"db06fa9f6b43bb7d386420f854f41aa55a11023de36bad68e043c3ac3f33b8d5",
"495063fbf5a1989435ee15ed6c6caf39b7dc7af22dd495e38fc7e6e7c00f1fcc"
],
"dev.drewhamilton.poko:poko-compiler-plugin:0.18.2": [
"08edf341dfa4dd0a9e15b83a2a74850baad3a4a3ca2f93aed05ca6a481b1f394",
"02f7ac954f3a9574b37a54d7bdc79190325b9ee38a3244256a84d6d760eb6f1f"
],
"io.opentelemetry:opentelemetry-exporter-logging-otlp:1.46.0": [
"afbed5afecd48ebc66ffe16c438cd92da31759af56bdcbde0f260b131e43042a",
"10c69d372df6c0e80486edb3cbd4191b75a99325e5faba10406242b3e609311e"
-2
View File
@@ -27,8 +27,6 @@
version: 2.1.20-Beta2
- id: org.jetbrains.kotlin:kotlin-compose-compiler-plugin
version: 2.1.20-Beta2
- id: dev.drewhamilton.poko:poko-compiler-plugin
version: 0.18.2
# other libs
- id: org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm
version: 1.10.1
@@ -19,7 +19,6 @@ kt_jvm_library(
"//src/kotlin-plugins/jdeps",
"//src/kotlin-plugins/abi",
"//:kotlin-compose-compiler-plugin",
"//:poko-compiler-plugin",
"//:kotlin-serialization-compiler-plugin",
],
visibility = ["//visibility:public"],
@@ -72,15 +72,6 @@ internal fun configurePlugins(
))
}
"dev.drewhamilton.poko.poko-compiler-plugin" -> {
addPlugin(RegisteredPluginInfo(
componentRegistrar = null,
compilerPluginRegistrar = PokoCompilerPluginRegistrar(),
commandLineProcessor = PokoCommandLineProcessor(),
pluginOptions = emptyList(),
))
}
else -> throw IllegalArgumentException("plugin requires classpath: $id")
}
}
@@ -8,7 +8,6 @@
<orderEntry type="library" scope="RUNTIME" name="noria-compiler-plugin" level="project" />
<orderEntry type="library" scope="RUNTIME" name="rhizomedb-compiler-plugin" level="project" />
<orderEntry type="library" scope="RUNTIME" name="rpc-compiler-plugin" level="project" />
<orderEntry type="library" scope="RUNTIME" name="poko-compiler-plugin" level="project" />
<orderEntry type="library" scope="RUNTIME" name="jetbrains.kotlin.compose.compiler.plugin" level="project" />
</component>
</module>
-10
View File
@@ -30,16 +30,6 @@ kt_compiler_plugin(
visibility = ["//visibility:public"]
)
kt_compiler_plugin(
name = "poko-plugin",
id = "dev.drewhamilton.poko.poko-compiler-plugin",
# todo options
# options = {
# "pokoAnnotation": "org/jetbrains/jewel/foundation/GenerateDataFunctions",
# },
visibility = ["//visibility:public"]
)
java_binary(
name = "manifest_updater",
srcs = ["ManifestUpdater.java"],
@@ -793,9 +793,6 @@ object CommunityLibraryLicenses {
.apache("https://github.com/Kotlin/kotlinx.serialization/blob/master/LICENSE.txt")
.suppliedByOrganizations(Suppliers.JETBRAINS),
LibraryLicense("Kotlin POKO Compiler", libraryName = "poko-compiler-plugin", url = "https://github.com/drewhamilton/Poko")
.apache("https://github.com/drewhamilton/Poko/blob/main/LICENSE"),
LibraryLicense("Kotlin reflection library", libraryName = "kotlin-reflect", url = "https://github.com/JetBrains/kotlin")
.apache("https://github.com/JetBrains/kotlin/blob/master/license/LICENSE.txt")
.suppliedByOrganizations(Suppliers.JETBRAINS),
@@ -1,6 +1,9 @@
package org.jetbrains.jewel.foundation
/**
* Instructs detekt to error out if equality members of the annotated class are missing or do not contain all properties from the constructor.
*
* Previous behavior:
* Instructs the Poko compiler plugin to generate equals, hashcode, and toString functions for the class it's attached
* to.
*
@@ -4,7 +4,7 @@
<facet type="kotlin-language" name="Kotlin">
<configuration version="5" platform="JVM 17" allPlatforms="JVM [17]" useProjectSettings="false">
<compilerSettings>
<option name="additionalArguments" value="-Xjvm-default=all -opt-in=androidx.compose.ui.ExperimentalComposeUiApi -Xcontext-receivers -opt-in=androidx.compose.foundation.ExperimentalFoundationApi -opt-in=org.jetbrains.jewel.foundation.ExperimentalJewelApi -opt-in=org.jetbrains.jewel.foundation.InternalJewelApi -P plugin:poko-compiler-plugin:pokoAnnotation=org/jetbrains/jewel/foundation/GenerateDataFunctions plugin:poko:pokoAnnotation=org/jetbrains/jewel/foundation/GenerateDataFunctions" />
<option name="additionalArguments" value="-Xjvm-default=all -opt-in=androidx.compose.ui.ExperimentalComposeUiApi -Xcontext-receivers -opt-in=androidx.compose.foundation.ExperimentalFoundationApi -opt-in=org.jetbrains.jewel.foundation.ExperimentalJewelApi -opt-in=org.jetbrains.jewel.foundation.InternalJewelApi -Xexplicit-api=strict" />
</compilerSettings>
<compilerArguments>
<stringArguments>