diff --git a/.idea/modules.xml b/.idea/modules.xml index ea1ce2242cc7..724bf9ea248b 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -892,6 +892,7 @@ + diff --git a/build/bazel-generated-file-list.txt b/build/bazel-generated-file-list.txt index 2a26eb3c7495..0f00dc93ea40 100644 --- a/build/bazel-generated-file-list.txt +++ b/build/bazel-generated-file-list.txt @@ -440,6 +440,7 @@ libraries/microba libraries/miglayout-swing libraries/mockito libraries/mvstore +libraries/opencsv libraries/oro-matcher libraries/proxy-vole libraries/pty4j diff --git a/lib/BUILD.bazel b/lib/BUILD.bazel index 98022015be75..ee0b02b5f0bd 100644 --- a/lib/BUILD.bazel +++ b/lib/BUILD.bazel @@ -5601,6 +5601,27 @@ jvm_import( visibility = ["//visibility:public"] ) +java_library( + name = "libraries-opencsv-opencsv", + exports = [ + ":com_opencsv-opencsv-5_10_http_import", + ":commons-beanutils-commons-beanutils-1_10_0_http_import", + ], + visibility = ["//visibility:public"] +) + +jvm_import( + name = "com_opencsv-opencsv-5_10_http_import", + jar = "@com_opencsv-opencsv-5_10_http//file", + source_jar = "@com_opencsv-opencsv-5_10_http//file" +) + +jvm_import( + name = "commons-beanutils-commons-beanutils-1_10_0_http_import", + jar = "@commons-beanutils-commons-beanutils-1_10_0_http//file", + source_jar = "@commons-beanutils-commons-beanutils-1_10_0_http//file" +) + jvm_import( name = "libraries-pty4j-pty4j", jar = "@org_jetbrains_pty4j-pty4j-0_13_11_http//file", diff --git a/lib/MODULE.bazel b/lib/MODULE.bazel index ac0d834a1412..78d5bc139398 100644 --- a/lib/MODULE.bazel +++ b/lib/MODULE.bazel @@ -8126,6 +8126,34 @@ http_file( downloaded_file_path = "h2-mvstore-2.3.232-sources.jar" ) +http_file( + name = "com_opencsv-opencsv-5_10_http", + url = "https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/com/opencsv/opencsv/5.10/opencsv-5.10.jar", + sha256 = "e7927eb9a6d4f8a348a520907dbb08da6283a4448abb9bd9ef2f950d7bb950b0", + downloaded_file_path = "opencsv-5.10.jar" +) + +http_file( + name = "commons-beanutils-commons-beanutils-1_10_0_http", + url = "https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.10.0/commons-beanutils-1.10.0.jar", + sha256 = "b6e8dbf5d4a7fd66edbc7106886909c097dc7e0768ca78cc1055955d6ff877a1", + downloaded_file_path = "commons-beanutils-1.10.0.jar" +) + +http_file( + name = "com_opencsv-opencsv-5_10-sources_http", + url = "https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/com/opencsv/opencsv/5.10/opencsv-5.10-sources.jar", + sha256 = "f99deea74bba9b19160d14f323f58cdc273ae95fccd13903b20bada2030c1a01", + downloaded_file_path = "opencsv-5.10-sources.jar" +) + +http_file( + name = "commons-beanutils-commons-beanutils-1_10_0-sources_http", + url = "https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.10.0/commons-beanutils-1.10.0-sources.jar", + sha256 = "881aa4751a1e68906bca056d230f535814222d959f55c2a166ca45300931822a", + downloaded_file_path = "commons-beanutils-1.10.0-sources.jar" +) + http_file( name = "org_jetbrains_pty4j-pty4j-0_13_11_http", url = "https://cache-redirector.jetbrains.com/repo1.maven.org/maven2/org/jetbrains/pty4j/pty4j/0.13.11/pty4j-0.13.11.jar", diff --git a/libraries/opencsv/BUILD.bazel b/libraries/opencsv/BUILD.bazel new file mode 100644 index 000000000000..06b8a1bcde08 --- /dev/null +++ b/libraries/opencsv/BUILD.bazel @@ -0,0 +1,18 @@ +### auto-generated section `build intellij.libraries.opencsv` start +load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup") + +resourcegroup( + name = "opencsv_resources", + srcs = glob(["resources/**/*"]), + strip_prefix = "resources" +) + +jvm_library( + name = "opencsv", + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), + resources = [":opencsv_resources"], + exports = ["@lib//:libraries-opencsv-opencsv"], + runtime_deps = ["@lib//:libraries-opencsv-opencsv"] +) +### auto-generated section `build intellij.libraries.opencsv` end \ No newline at end of file diff --git a/libraries/opencsv/intellij.libraries.opencsv.iml b/libraries/opencsv/intellij.libraries.opencsv.iml new file mode 100644 index 000000000000..cdf945c56960 --- /dev/null +++ b/libraries/opencsv/intellij.libraries.opencsv.iml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + e7927eb9a6d4f8a348a520907dbb08da6283a4448abb9bd9ef2f950d7bb950b0 + + + b6e8dbf5d4a7fd66edbc7106886909c097dc7e0768ca78cc1055955d6ff877a1 + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/libraries/opencsv/module-content.yaml b/libraries/opencsv/module-content.yaml new file mode 100644 index 000000000000..04311342b93b --- /dev/null +++ b/libraries/opencsv/module-content.yaml @@ -0,0 +1,7 @@ +- name: + modules: + - name: intellij.libraries.opencsv + libraries: + opencsv: + - name: $MAVEN_REPOSITORY$/com/opencsv/opencsv/5/opencsv-5.jar + - name: $MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1/commons-beanutils-1.jar \ No newline at end of file diff --git a/libraries/opencsv/resources/intellij.libraries.opencsv.xml b/libraries/opencsv/resources/intellij.libraries.opencsv.xml new file mode 100644 index 000000000000..bf03841e6f89 --- /dev/null +++ b/libraries/opencsv/resources/intellij.libraries.opencsv.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/platform/build-scripts/src/org/jetbrains/intellij/build/CommunityLibraryLicenses.kt b/platform/build-scripts/src/org/jetbrains/intellij/build/CommunityLibraryLicenses.kt index 81e0df9040ab..88c28aea61b9 100644 --- a/platform/build-scripts/src/org/jetbrains/intellij/build/CommunityLibraryLicenses.kt +++ b/platform/build-scripts/src/org/jetbrains/intellij/build/CommunityLibraryLicenses.kt @@ -1046,6 +1046,9 @@ object CommunityLibraryLicenses { LibraryLicense("OkHttp", libraryName = "okhttp", url = "https://square.github.io/okhttp/") .apache("https://square.github.io/okhttp/#license"), + LibraryLicense("opencsv", libraryName = "opencsv", url = "https://opencsv.sourceforge.net/") + .apache("https://sourceforge.net/p/opencsv/source/ci/master/tree/LICENSE"), + LibraryLicense(libraryName = "opentelemetry", url = "https://opentelemetry.io/") .apache("https://github.com/open-telemetry/opentelemetry-java/blob/main/LICENSE") .suppliedByOrganizations("The OpenTelemetry Authors"), diff --git a/platform/platform-resources/src/META-INF/intellij.moduleSets.libraries.misc.xml b/platform/platform-resources/src/META-INF/intellij.moduleSets.libraries.misc.xml index de873cfa4ccb..d53c90ce3b34 100644 --- a/platform/platform-resources/src/META-INF/intellij.moduleSets.libraries.misc.xml +++ b/platform/platform-resources/src/META-INF/intellij.moduleSets.libraries.misc.xml @@ -5,5 +5,6 @@ + \ No newline at end of file diff --git a/plugins/evaluation-plugin/plugin-content.yaml b/plugins/evaluation-plugin/plugin-content.yaml index 1bdd3523e66d..5ceef515ea51 100644 --- a/plugins/evaluation-plugin/plugin-content.yaml +++ b/plugins/evaluation-plugin/plugin-content.yaml @@ -65,10 +65,4 @@ - name: intellij.evaluationPlugin.llm libraries: langfuse.java: - - name: $MAVEN_REPOSITORY$/com/langfuse/langfuse-java/0/langfuse-java-0.jar -- name: lib/opencsv.jar - library: opencsv - files: - - name: $MAVEN_REPOSITORY$/com/opencsv/opencsv/5/opencsv-5.jar - - name: $MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1/commons-beanutils-1.jar - reason: <- intellij.evaluationPlugin.ijnext \ No newline at end of file + - name: $MAVEN_REPOSITORY$/com/langfuse/langfuse-java/0/langfuse-java-0.jar \ No newline at end of file