Skip to content

Commit 53677a9

Browse files
committed
dev: Revert back to Maven
I have no idea about how Gradle works, and I also have no idea of the Kotlin language (which I used for configuration). Not a great experience. I only switched for resource filtering, and I now know how to do that with Maven, so it's time to turn back around. - Restores files from before merging #4 (commit c03212) - Modifies plugin.yml for resource filtering with Maven - Modifies pom.xml to filter resource plugin.yml
1 parent 7158107 commit 53677a9

11 files changed

+123
-398
lines changed

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
java-version: "17"
2323
java-package: jdk
2424
architecture: x64
25-
cache: gradle
25+
cache: maven
2626

2727
- name: Autobuild
2828
uses: github/codeql-action/autobuild@v2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Gradle Build
1+
name: Maven Build
22
on: [push, pull_request]
33

44
jobs:
55
build:
6-
name: Gradle Build
6+
name: Maven Build
77
runs-on: ubuntu-latest
88

99
steps:
@@ -17,13 +17,13 @@ jobs:
1717
java-version: "17"
1818
java-package: jdk
1919
architecture: x64
20-
cache: gradle
21-
22-
- name: Use gradlew to build the project
23-
run: ./gradlew build
20+
cache: maven
21+
22+
- name: Build project with Maven
23+
run: mvn verify --file pom.xml
2424

2525
- name: Upload build artifacts
2626
uses: actions/upload-artifact@v3
2727
with:
2828
name: kiriSMP_${{ github.sha }}
29-
path: build/libs/ksmpplugin-*.jar
29+
path: target/ksmpplugin-*.jar

.gitignore

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# Ignore gradle build output and working files
2-
/build/
3-
/.gradle/
1+
# Ignore maven build output
2+
/target/
43

54
# Ignore workspace configuration
65
/.idea/

build.gradle.kts

-33
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

-60.6 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

-6
This file was deleted.

gradlew

-245
This file was deleted.

0 commit comments

Comments
 (0)