Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4

[*.{md,markdown,json,js,xml,yml}]
indent_style = space
indent_size = 2

[*.{md,markdown}]
trim_trailing_whitespace = false
max_line_length = 80

[*.{sh,bat,ps1}]
trim_trailing_whitespace = true
insert_final_newline = true
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Auto detect text files and perform LF normalization
* text=auto eol=lf

# Set default behavior for command prompt diff.
# This gives output on command line taking java language constructs into consideration (e.g showing class name)
*.java text diff=java

# Set windows specific files explicitly to crlf line ending
*.cmd eol=crlf
*.bat eol=crlf
*.ps1 eol=crlf
65 changes: 65 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Build

on:
push:
branches: [ "master" ]
pull_request_target:
branches: [ "master" ]

permissions:
contents: read
checks: write

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Build
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.5
arguments: build

- name: Test
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.5
arguments: test

- name: Test Results
uses: mikepenz/action-junit-report@v4
if: always()
with:
fail_on_failure: true
require_tests: true
report_paths: '**/build/test-results/test/TEST-*.xml'

- name: Upload Jars
uses: actions/upload-artifact@v3
with:
name: QdrantJava
path: build/libs

publish:
runs-on: ubuntu-latest
needs: test
steps:
- name: Deploy javadoc to Github Pages
uses: dev-vince/actions-publish-javadoc@v1.0.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
java-version: "8"
java-distribution: "adopt" # The distributor of the target JDK. See https://github.com/actions/setup-java for more information.
project: maven # The project type.
branch: "gh-pages" # The branch for the javadoc contents.
42 changes: 0 additions & 42 deletions .github/workflows/cd.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/test.yml

This file was deleted.

62 changes: 43 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,47 @@
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
.mvn/wrapper/maven-wrapper.jar
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

# Eclipse m2e generated files
# Eclipse Core
.project
# JDT-specific (Eclipse Java Development Tools)
### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
.idea/uiDesigner.xml
.idea/codeStyles/codeStyleConfig.xml
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

# VS Code
.vscode/*
### Mac OS ###
.DS_Store

# Others
.DS_Store
### Project specific ###
protos
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading