From c7e8dd99aca88f5339efeb3de51f1e55bf38b82d Mon Sep 17 00:00:00 2001
From: Opeyemi Alao <54288773+Eeebru@users.noreply.github.com>
Date: Fri, 18 Oct 2024 16:54:38 +0100
Subject: [PATCH] [BRE-372] - Clean up document start
---
.github/workflows/build-android.yml | 1 -
.github/workflows/build-cli-docker.yml | 1 -
.github/workflows/build-cli.yml | 1 -
.github/workflows/build-java.yml | 1 -
.github/workflows/build-napi.yml | 1 -
.github/workflows/build-python-wheels.yml | 1 -
.github/workflows/build-ruby.yml | 1 -
.github/workflows/build-rust-crates.yml | 1 -
.github/workflows/build-swift.yml | 1 -
.github/workflows/build-wasm-internal.yml | 1 -
.github/workflows/build-wasm.yml | 1 -
.github/workflows/delete-old-packages.yml | 1 -
.github/workflows/direct-minimal-versions.yml | 1 -
.github/workflows/enforce-labels.yml | 1 -
.github/workflows/memory-testing.yml | 1 -
.github/workflows/minimum-rust-version.yml | 1 -
.github/workflows/publish-bws.yml | 1 -
.github/workflows/publish-internal.yml | 1 -
.github/workflows/publish-java.yml | 1 -
.github/workflows/publish-napi.yml | 1 -
.github/workflows/publish-php.yml | 1 -
.github/workflows/publish-python.yml | 1 -
.github/workflows/publish-rust-crates.yml | 1 -
.github/workflows/publish-wasm.yml | 1 -
.github/workflows/release-bws.yml | 1 -
.github/workflows/release-napi.yml | 1 -
.github/workflows/release-python.yml | 1 -
.github/workflows/release-swift.yml | 1 -
.github/workflows/release-wasm.yml | 1 -
.github/workflows/version-bump.yml | 1 -
.github/workflows/workflow-linter.yml | 12 -------
languages/java/example/bin/main/.classpath | 12 +++++++
languages/java/example/bin/main/.project | 34 +++++++++++++++++++
.../org.eclipse.buildship.core.prefs | 2 ++
.../main/.settings/org.eclipse.jdt.core.prefs | 4 +++
languages/java/example/bin/main/build.gradle | 23 +++++++++++++
36 files changed, 75 insertions(+), 42 deletions(-)
delete mode 100644 .github/workflows/workflow-linter.yml
create mode 100644 languages/java/example/bin/main/.classpath
create mode 100644 languages/java/example/bin/main/.project
create mode 100644 languages/java/example/bin/main/.settings/org.eclipse.buildship.core.prefs
create mode 100644 languages/java/example/bin/main/.settings/org.eclipse.jdt.core.prefs
create mode 100644 languages/java/example/bin/main/build.gradle
diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml
index e49fc0d6b..49ee20849 100644
--- a/.github/workflows/build-android.yml
+++ b/.github/workflows/build-android.yml
@@ -1,4 +1,3 @@
----
name: Build Android
on:
diff --git a/.github/workflows/build-cli-docker.yml b/.github/workflows/build-cli-docker.yml
index 65e164807..abf1c3a8e 100644
--- a/.github/workflows/build-cli-docker.yml
+++ b/.github/workflows/build-cli-docker.yml
@@ -1,4 +1,3 @@
----
name: Build bws Docker image
on:
diff --git a/.github/workflows/build-cli.yml b/.github/workflows/build-cli.yml
index 648291eb2..05f4cd230 100644
--- a/.github/workflows/build-cli.yml
+++ b/.github/workflows/build-cli.yml
@@ -1,4 +1,3 @@
----
name: Build CLI
on:
diff --git a/.github/workflows/build-java.yml b/.github/workflows/build-java.yml
index 761ba5cee..abeabe9db 100644
--- a/.github/workflows/build-java.yml
+++ b/.github/workflows/build-java.yml
@@ -1,4 +1,3 @@
----
name: Build Java SDK
on:
diff --git a/.github/workflows/build-napi.yml b/.github/workflows/build-napi.yml
index f9ebbc7ae..cae88a1b7 100644
--- a/.github/workflows/build-napi.yml
+++ b/.github/workflows/build-napi.yml
@@ -1,4 +1,3 @@
----
name: Build @bitwarden/sdk-napi
on:
diff --git a/.github/workflows/build-python-wheels.yml b/.github/workflows/build-python-wheels.yml
index 60c6e4b2c..da3305e79 100644
--- a/.github/workflows/build-python-wheels.yml
+++ b/.github/workflows/build-python-wheels.yml
@@ -1,4 +1,3 @@
----
name: Build Python Wheels
on:
diff --git a/.github/workflows/build-ruby.yml b/.github/workflows/build-ruby.yml
index 559c161cd..3ac79de78 100644
--- a/.github/workflows/build-ruby.yml
+++ b/.github/workflows/build-ruby.yml
@@ -1,4 +1,3 @@
----
name: Build Ruby
on:
diff --git a/.github/workflows/build-rust-crates.yml b/.github/workflows/build-rust-crates.yml
index 115be589f..bc00dd973 100644
--- a/.github/workflows/build-rust-crates.yml
+++ b/.github/workflows/build-rust-crates.yml
@@ -1,4 +1,3 @@
----
name: Build Rust crates
on:
diff --git a/.github/workflows/build-swift.yml b/.github/workflows/build-swift.yml
index 94b730e86..93cb314c4 100644
--- a/.github/workflows/build-swift.yml
+++ b/.github/workflows/build-swift.yml
@@ -1,4 +1,3 @@
----
name: Build Swift Package
on:
diff --git a/.github/workflows/build-wasm-internal.yml b/.github/workflows/build-wasm-internal.yml
index 6e0e28b98..e45bcc264 100644
--- a/.github/workflows/build-wasm-internal.yml
+++ b/.github/workflows/build-wasm-internal.yml
@@ -1,4 +1,3 @@
----
name: Build @bitwarden/sdk-internal
on:
diff --git a/.github/workflows/build-wasm.yml b/.github/workflows/build-wasm.yml
index f3a57f062..7e01e10e4 100644
--- a/.github/workflows/build-wasm.yml
+++ b/.github/workflows/build-wasm.yml
@@ -1,4 +1,3 @@
----
name: Build @bitwarden/sdk-wasm
on:
diff --git a/.github/workflows/delete-old-packages.yml b/.github/workflows/delete-old-packages.yml
index b3be807a6..f690e8011 100644
--- a/.github/workflows/delete-old-packages.yml
+++ b/.github/workflows/delete-old-packages.yml
@@ -1,4 +1,3 @@
----
name: Delete old packages
on:
diff --git a/.github/workflows/direct-minimal-versions.yml b/.github/workflows/direct-minimal-versions.yml
index 7b3820c70..66623ed6e 100644
--- a/.github/workflows/direct-minimal-versions.yml
+++ b/.github/workflows/direct-minimal-versions.yml
@@ -1,4 +1,3 @@
----
name: Direct Minimum Version
on:
diff --git a/.github/workflows/enforce-labels.yml b/.github/workflows/enforce-labels.yml
index a98c4ae1b..40ddfe773 100644
--- a/.github/workflows/enforce-labels.yml
+++ b/.github/workflows/enforce-labels.yml
@@ -1,4 +1,3 @@
----
name: Enforce PR labels
on:
diff --git a/.github/workflows/memory-testing.yml b/.github/workflows/memory-testing.yml
index 527121baf..619fbb469 100644
--- a/.github/workflows/memory-testing.yml
+++ b/.github/workflows/memory-testing.yml
@@ -1,4 +1,3 @@
----
name: Test for memory leaks
on:
diff --git a/.github/workflows/minimum-rust-version.yml b/.github/workflows/minimum-rust-version.yml
index deaca3c10..812822c6e 100644
--- a/.github/workflows/minimum-rust-version.yml
+++ b/.github/workflows/minimum-rust-version.yml
@@ -1,4 +1,3 @@
----
name: Minimum Rust Version
on:
diff --git a/.github/workflows/publish-bws.yml b/.github/workflows/publish-bws.yml
index d4dc445cf..3f4245b9f 100644
--- a/.github/workflows/publish-bws.yml
+++ b/.github/workflows/publish-bws.yml
@@ -1,4 +1,3 @@
----
name: Publish bws CLI
run-name: Publish bws CLI ${{ inputs.release_type }}
diff --git a/.github/workflows/publish-internal.yml b/.github/workflows/publish-internal.yml
index 62ffc9e45..eef5b4d09 100644
--- a/.github/workflows/publish-internal.yml
+++ b/.github/workflows/publish-internal.yml
@@ -1,4 +1,3 @@
----
name: Publish @bitwarden/sdk-internal
run-name: Publish @bitwarden/sdk-internal ${{ inputs.release_type }}
diff --git a/.github/workflows/publish-java.yml b/.github/workflows/publish-java.yml
index 7f461c198..84ce0a955 100644
--- a/.github/workflows/publish-java.yml
+++ b/.github/workflows/publish-java.yml
@@ -1,4 +1,3 @@
----
name: Publish Java SDK
run-name: Publish Java SDK ${{ inputs.release_type }}
diff --git a/.github/workflows/publish-napi.yml b/.github/workflows/publish-napi.yml
index 0caec4009..5c7aca190 100644
--- a/.github/workflows/publish-napi.yml
+++ b/.github/workflows/publish-napi.yml
@@ -1,4 +1,3 @@
----
name: Publish @bitwarden/sdk-napi
run-name: Publish @bitwarden/sdk-napi ${{ inputs.release_type }}
diff --git a/.github/workflows/publish-php.yml b/.github/workflows/publish-php.yml
index fc82c6bcb..d3965f701 100644
--- a/.github/workflows/publish-php.yml
+++ b/.github/workflows/publish-php.yml
@@ -1,4 +1,3 @@
----
name: Publish PHP SDK
run-name: Publish PHP SDK ${{ inputs.release_type }}
diff --git a/.github/workflows/publish-python.yml b/.github/workflows/publish-python.yml
index 76b06a433..bfc6b7a03 100644
--- a/.github/workflows/publish-python.yml
+++ b/.github/workflows/publish-python.yml
@@ -1,4 +1,3 @@
----
name: Publish Python SDK
run-name: Publish Python SDK ${{ inputs.release_type }}
diff --git a/.github/workflows/publish-rust-crates.yml b/.github/workflows/publish-rust-crates.yml
index 156aedb0c..30921f6b3 100644
--- a/.github/workflows/publish-rust-crates.yml
+++ b/.github/workflows/publish-rust-crates.yml
@@ -1,4 +1,3 @@
----
name: Publish Rust crates
run-name: Publish Rust crates ${{ inputs.release_type }}
diff --git a/.github/workflows/publish-wasm.yml b/.github/workflows/publish-wasm.yml
index b8bd637f1..95779b780 100644
--- a/.github/workflows/publish-wasm.yml
+++ b/.github/workflows/publish-wasm.yml
@@ -1,4 +1,3 @@
----
name: Publish @bitwarden/sdk-wasm
run-name: Publish @bitwarden/sdk-wasm ${{ inputs.release_type }}
diff --git a/.github/workflows/release-bws.yml b/.github/workflows/release-bws.yml
index aec837411..9063ca6a0 100644
--- a/.github/workflows/release-bws.yml
+++ b/.github/workflows/release-bws.yml
@@ -1,4 +1,3 @@
----
name: Release bws CLI
run-name: Release bws CLI ${{ inputs.release_type }}
diff --git a/.github/workflows/release-napi.yml b/.github/workflows/release-napi.yml
index b47f51f50..65534e8e3 100644
--- a/.github/workflows/release-napi.yml
+++ b/.github/workflows/release-napi.yml
@@ -1,4 +1,3 @@
----
name: Release @bitwarden/sdk-napi
run-name: Release @bitwarden/sdk-napi ${{ inputs.release_type }}
diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml
index 6d246270b..a634a2d17 100644
--- a/.github/workflows/release-python.yml
+++ b/.github/workflows/release-python.yml
@@ -1,4 +1,3 @@
----
name: Release Python SDK
run-name: Release Python SDK ${{ inputs.release_type }}
diff --git a/.github/workflows/release-swift.yml b/.github/workflows/release-swift.yml
index 38f247cce..c5c25d65b 100644
--- a/.github/workflows/release-swift.yml
+++ b/.github/workflows/release-swift.yml
@@ -1,4 +1,3 @@
----
name: Release Swift Package
on:
diff --git a/.github/workflows/release-wasm.yml b/.github/workflows/release-wasm.yml
index c53d30813..982a31ec8 100644
--- a/.github/workflows/release-wasm.yml
+++ b/.github/workflows/release-wasm.yml
@@ -1,4 +1,3 @@
----
name: Release @bitwarden/sdk-wasm
run-name: Release @bitwarden/sdk-wasm ${{ inputs.release_type }}
diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml
index 9cd716eb7..47642e198 100644
--- a/.github/workflows/version-bump.yml
+++ b/.github/workflows/version-bump.yml
@@ -1,4 +1,3 @@
----
name: Version Bump
run-name: Version Bump - ${{ inputs.project }} - v${{ inputs.version_number }}
diff --git a/.github/workflows/workflow-linter.yml b/.github/workflows/workflow-linter.yml
deleted file mode 100644
index 24f10f1e4..000000000
--- a/.github/workflows/workflow-linter.yml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-name: Workflow linter
-
-on:
- pull_request:
- paths:
- - .github/workflows/**
-
-jobs:
- call-workflow:
- name: Lint
- uses: bitwarden/gh-actions/.github/workflows/workflow-linter.yml@main
diff --git a/languages/java/example/bin/main/.classpath b/languages/java/example/bin/main/.classpath
new file mode 100644
index 000000000..18f7d2381
--- /dev/null
+++ b/languages/java/example/bin/main/.classpath
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/languages/java/example/bin/main/.project b/languages/java/example/bin/main/.project
new file mode 100644
index 000000000..050f3113a
--- /dev/null
+++ b/languages/java/example/bin/main/.project
@@ -0,0 +1,34 @@
+
+
+ example
+ Project example created by Buildship.
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.buildship.core.gradleprojectbuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.eclipse.buildship.core.gradleprojectnature
+
+
+
+ 1729179122477
+
+ 30
+
+ org.eclipse.core.resources.regexFilterMatcher
+ node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__
+
+
+
+
diff --git a/languages/java/example/bin/main/.settings/org.eclipse.buildship.core.prefs b/languages/java/example/bin/main/.settings/org.eclipse.buildship.core.prefs
new file mode 100644
index 000000000..b1886adb4
--- /dev/null
+++ b/languages/java/example/bin/main/.settings/org.eclipse.buildship.core.prefs
@@ -0,0 +1,2 @@
+connection.project.dir=..
+eclipse.preferences.version=1
diff --git a/languages/java/example/bin/main/.settings/org.eclipse.jdt.core.prefs b/languages/java/example/bin/main/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..55e9d5ff0
--- /dev/null
+++ b/languages/java/example/bin/main/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,4 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=19
+org.eclipse.jdt.core.compiler.compliance=19
+org.eclipse.jdt.core.compiler.source=19
diff --git a/languages/java/example/bin/main/build.gradle b/languages/java/example/bin/main/build.gradle
new file mode 100644
index 000000000..73025e50d
--- /dev/null
+++ b/languages/java/example/bin/main/build.gradle
@@ -0,0 +1,23 @@
+plugins {
+ id 'application'
+}
+
+repositories {
+ mavenLocal()
+ mavenCentral()
+}
+
+dependencies {
+ implementation rootProject
+}
+
+application {
+ mainClass = 'Example'
+}
+
+sourceSets {
+ main {
+ java.srcDirs += '.'
+ }
+}
+