Skip to content

Commit

Permalink
Merge pull request #1 from mateuszkwiecinski/updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Nov 10, 2023
2 parents e88fb91 + b2cd1dc commit 587a024
Show file tree
Hide file tree
Showing 76 changed files with 1,284 additions and 934 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
insert_final_newline = true

[*.{kt,kts}]
max_line_length = 140
indent_size = 4
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ktlint_code_style = intellij_idea
ktlint_standard_property-naming = disabled
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 2
16 changes: 0 additions & 16 deletions .github/dependabot.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/release-drafter.yml

This file was deleted.

56 changes: 56 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build Project

on:
pull_request:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ]
name: '[${{ matrix.os }}] build plugin'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
mkdir -p ~/.gradle
printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties
printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties
shell: bash

- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 21

- uses: gradle/wrapper-validation-action@v1

- uses: gradle/gradle-build-action@v2

- run: ./gradlew assemble

- run: ./gradlew check

- run: ./gradlew publishToMavenLocal

- run: ./gradlew publishPlugins -m

- run: git diff --exit-code

- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: test-results-${{ matrix.os }}
path: "${{ github.workspace }}/**/build/reports/tests"
43 changes: 0 additions & 43 deletions .github/workflows/post-merge.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/pull-request.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/release-drafter.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/release-gross-plugin.yml

This file was deleted.

21 changes: 9 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
build
out
*.iws
*.ipr
*.iml
TODO.md
.idea
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
# Gradle files
.gradle/
build/
local.properties
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

Loading

0 comments on commit 587a024

Please sign in to comment.