Skip to content

Commit 8e00ae3

Browse files
authored
feat!: Replace fingerprint with matching and add Kotlin DSL to patcher API (#385)
BREAKING CHANGE: Some APIs have been changed or removed, but most are deprecated and have backwards compatibility.
1 parent 39aaf42 commit 8e00ae3

File tree

112 files changed

+12062
-7840
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+12062
-7840
lines changed

.editorconfig

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/build_pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v5
15+
uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0
1818

.github/workflows/open_pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919

2020
- name: Open pull request
2121
uses: repo-sync/pull-request@v2

.github/workflows/release.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,19 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v5
20-
with:
21-
# Make sure the release step uses its own credentials:
22-
# https://github.com/cycjimmy/semantic-release-action#private-packages
23-
persist-credentials: false
24-
fetch-depth: 0
19+
uses: actions/checkout@v6
2520

2621
- name: Cache Gradle
2722
uses: burrunan/gradle-cache-action@v3
2823

2924
- name: Build
3025
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
ORG_GRADLE_PROJECT_githubPackagesUsername: ${{ env.GITHUB_ACTOR }}
27+
ORG_GRADLE_PROJECT_githubPackagesPassword: ${{ secrets.GITHUB_TOKEN }}
3228
run: ./gradlew build clean
3329

3430
- name: Setup Node.js
35-
uses: actions/setup-node@v5
31+
uses: actions/setup-node@v6
3632
with:
3733
node-version: "lts/*"
3834
cache: 'npm'
@@ -48,6 +44,8 @@ jobs:
4844
fingerprint: ${{ vars.GPG_FINGERPRINT }}
4945

5046
- name: Release
47+
uses: cycjimmy/semantic-release-action@v5
5148
env:
5249
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
run: npm exec semantic-release
50+
ORG_GRADLE_PROJECT_githubPackagesUsername: ${{ env.GITHUB_ACTOR }}
51+
ORG_GRADLE_PROJECT_githubPackagesPassword: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 14 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,19 @@
1-
### Java template
2-
# Compiled class file
3-
*.class
4-
5-
# Log file
6-
*.log
7-
8-
# BlueJ files
9-
*.ctxt
10-
11-
# Mobile Tools for Java (J2ME)
12-
.mtj.tmp/
13-
14-
# Package Files #
15-
*.jar
16-
*.war
17-
*.nar
18-
*.ear
19-
*.zip
20-
*.tar.gz
21-
*.rar
22-
23-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
24-
hs_err_pid*
25-
26-
### JetBrains template
27-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
28-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
29-
30-
# User-specific stuff
31-
.idea/**/workspace.xml
32-
.idea/**/tasks.xml
33-
.idea/**/usage.statistics.xml
34-
.idea/**/dictionaries
35-
.idea/**/shelf
36-
37-
# Generated files
38-
.idea/**/contentModel.xml
39-
40-
# Sensitive or high-churn files
41-
.idea/**/dataSources/
42-
.idea/**/dataSources.ids
43-
.idea/**/dataSources.local.xml
44-
.idea/**/sqlDataSources.xml
45-
.idea/**/dynamic.xml
46-
.idea/**/uiDesigner.xml
47-
.idea/**/dbnavigator.xml
48-
49-
# Gradle
50-
.idea/**/gradle.xml
51-
.idea/**/libraries
52-
53-
# Gradle and Maven with auto-import
54-
# When using Gradle or Maven with auto-import, you should exclude module files,
55-
# since they will be recreated, and may cause churn. Uncomment if using
56-
# auto-import.
57-
.idea/artifacts
58-
.idea/compiler.xml
59-
.idea/jarRepositories.xml
60-
.idea/modules.xml
61-
.idea/*.iml
62-
.idea/modules
631
*.iml
64-
*.ipr
65-
66-
# CMake
67-
cmake-build-*/
68-
69-
# Mongo Explorer plugin
70-
.idea/**/mongoSettings.xml
71-
72-
# File-based project format
73-
*.iws
74-
75-
# IntelliJ
76-
out/
77-
.idea/
78-
79-
# mpeltonen/sbt-idea plugin
80-
.idea_modules/
81-
82-
# JIRA plugin
83-
atlassian-ide-plugin.xml
84-
85-
# Cursive Clojure plugin
86-
.idea/replstate.xml
87-
88-
# Crashlytics plugin (for Android Studio and IntelliJ)
89-
com_crashlytics_export_strings.xml
90-
crashlytics.properties
91-
crashlytics-build.properties
92-
fabric.properties
93-
94-
# Editor-based Rest Client
95-
.idea/httpRequests
96-
97-
# Android studio 3.1+ serialized cache file
98-
.idea/caches/build_file_checksums.ser
99-
100-
### Gradle template
2+
.kotlin
1013
.gradle
1024
**/build/
5+
xcuserdata
1036
!src/**/build/
104-
105-
# Ignore Gradle GUI config
106-
gradle-app.setting
107-
108-
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
109-
!gradle-wrapper.jar
110-
111-
# Cache of project
112-
.gradletasknamecache
113-
114-
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
115-
# gradle/wrapper/gradle-wrapper.properties
116-
117-
# Avoid ignoring test resources
118-
!src/test/resources/*
119-
120-
# Dependency directories
7+
local.properties
8+
.idea
9+
.DS_Store
10+
captures
11+
.externalNativeBuild
12+
.cxx
13+
*.xcodeproj/*
14+
!*.xcodeproj/project.pbxproj
15+
!*.xcodeproj/xcshareddata/
16+
!*.xcodeproj/project.xcworkspace/
17+
!*.xcworkspace/contents.xcworkspacedata
18+
**/xcshareddata/WorkspaceSettings.xcsettings
12119
node_modules/
122-
123-
# Gradle props, to avoid sharing the gpr key
124-
gradle.properties

.releaserc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@
2828
}
2929
],
3030
[
31-
"@saithodev/semantic-release-backmerge",
31+
"@kilianpaquier/semantic-release-backmerge",
3232
{
33-
backmergeBranches: [{"from": "main", "to": "dev"}],
34-
clearWorkspace: true
33+
"targets": [{ "from": "main", "to": "dev" }
3534
}
3635
],
3736
[

0 commit comments

Comments
 (0)