Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Jun 7, 2024
0 parents commit e231e15
Show file tree
Hide file tree
Showing 50 changed files with 2,433 additions and 0 deletions.
71 changes: 71 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@

# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file with UTF 8 encoding
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
max_line_length = 100

# IntelliJ specific rules for ANY source file
ij_continuation_indent_size = 2
ij_any_keep_blank_lines_in_code = 1
ij_any_keep_line_breaks = true
ij_any_catch_on_new_line = true
ij_any_else_on_new_line = true
ij_any_finally_on_new_line = true
ij_any_while_on_new_line = true
ij_any_class_annotation_wrap = off
ij_any_field_annotation_wrap = off
ij_any_method_annotation_wrap = off
ij_any_parameter_annotation_wrap = off
ij_any_variable_annotation_wrap = off

# IntelliJ JSON specific rules
[*.md]
ij_markdown_min_lines_around_header = 0
ij_markdown_min_lines_around_block_elements = 0

[*.json]
ij_json_space_after_colon = true
ij_json_space_after_comma = true
ij_json_space_before_colon = false
ij_json_space_before_comma = false
ij_json_spaces_within_braces = true
ij_json_spaces_within_brackets = true
ij_json_wrap_long_lines = true

# IntelliJ YAML specific rules
[*.{yaml,yml}]
ij_yaml_spaces_within_brackets = true
ij_yaml_spaces_within_braces = true
ij_yaml_keep_line_breaks = true

# IntelliJ HTML formatting
[*.{html,htm}]
ij_html_do_not_indent_children_of_tags = html

# 4 space indentation
[*.{java,js,ts,kt,kts,gradle,groovy,py}]
indent_size = 4
ij_continuation_indent_size = 4

# Go language uses tabs by default
[*.go]
indent_style = tab

# IntelliJ Kotlin specific rules
[*.{kt,kts}]
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
ij_kotlin_import_nested_classes = true

# Log files exception
[*.log]
max_line_length = 200
25 changes: 25 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

on: push

permissions: read-all

jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.sdkman
key: "${{ runner.os }}-sdkman-${{ hashFiles('.sdkmanrc') }}"
restore-keys: "${{ runner.os }}-sdkman-"
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: "${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}"
restore-keys: "${{ runner.os }}-maven-"
- run: curl -s "https://get.sdkman.io?rcupdate=false" | bash
- run: |
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk env install
./mvnw
51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@

# Private / Local
private_*
local_*

# Binaries
*.out

# Maven
target/
pom.xml.*
release.properties
dependency-reduced-pom.xml
buildNumber.properties
*.versionsBackup

# Gradle
.gradle/
build/

# Eclipse
bin/
.settings/
.project
.classpath

# Idea
/out/
.idea/
*.iml

# VS Code
.vscode/

# Runtime
log/
*.log
*.hprof
*.build_artifacts.txt
.attach_pid*
hs_err_pid*

# Other Tools
kotlin-js-store/
node_modules/
.vagrant/
.env

# System Files
.DS_Store
Thumbs.db
27 changes: 27 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

services:
- name: docker:dind
command:
- '--tls=false'

variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ''
DOCKER_DRIVER: overlay2
MAVEN_OPTS: -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository

build:
stage: build
image: ubuntu:24.04
cache:
key: build-cache
paths:
- .m2/repository
before_script:
- apt update
- apt -y install curl zip unzip
- curl -s "https://get.sdkman.io?rcupdate=false" | bash
- source "$HOME/.sdkman/bin/sdkman-init.sh"
script:
- sdk env install
- ./mvnw
3 changes: 3 additions & 0 deletions .mvn/jvm.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-Xmx2g
-Xms1g
-Djava.awt.headless=true
3 changes: 3 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-T1.5C
--update-snapshots
--fail-at-end
Loading

0 comments on commit e231e15

Please sign in to comment.