Skip to content

Commit 07aef20

Browse files
authored
Refresh dependencies and switch to the latest api (#10)
1 parent 2056cb4 commit 07aef20

23 files changed

+282
-212
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build the jar on release
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
release:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Set up JDK 11
11+
uses: actions/setup-java@v3
12+
with:
13+
java-version: '11'
14+
distribution: 'temurin'
15+
- name: Assemble the jar
16+
run: ./gradlew assemble
17+
- uses: svenstaro/upload-release-action@v2
18+
with:
19+
repo_token: ${{ secrets.GITHUB_TOKEN }}
20+
file: 'build/distributions/Git extended update-index-*.zip'
21+
asset_name: 'Git extended update-index-$tag.zip'
22+
tag: ${{ github.ref }}

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111

1212
- name: Set up JDK 11
13-
uses: actions/setup-java@v2
13+
uses: actions/setup-java@v3
1414
with:
1515
java-version: '11'
16-
distribution: 'adopt'
16+
distribution: 'temurin'
1717

1818
- name: Validate Gradle wrapper
1919
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
@@ -25,9 +25,9 @@ jobs:
2525
run: ./gradlew check
2626

2727
- name: Publish Test Report
28-
uses: mikepenz/action-junit-report@v2
28+
uses: mikepenz/action-junit-report@v3
2929
with:
3030
report_paths: '**/build/test-results/test/TEST-*.xml'
3131

3232
- name: Publish Coverage Report
33-
uses: codecov/codecov-action@v2
33+
uses: codecov/codecov-action@v3

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ It adds the support for the next subcommands:
2323
![Show skipped worktree changes view element](screenshots/screenshot_4.png)
2424

2525
## Release History
26+
* 0.1.1
27+
* Use the latest IntelliJ API.
2628
* 0.1.0
2729
* Introduced a way to see skipped worktree files in the changes view tool window.
2830
* 0.0.5
@@ -41,4 +43,4 @@ It adds the support for the next subcommands:
4143
* Initial release.
4244

4345
## License
44-
The software is licensed under the [Apache-2.0 License](LICENSE).
46+
The software is licensed under the [Apache-2.0 License](LICENSE).

build.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED
55
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
66

77
group = "com.github.monosoul"
8-
version = "0.1.1-SNAPSHOT"
8+
version = "0.1.1"
99

1010
plugins {
11-
id("org.jetbrains.intellij") version "1.1.4"
12-
kotlin("jvm") version "1.5.20"
11+
id("org.jetbrains.intellij") version "1.5.3"
12+
kotlin("jvm") version "1.6.21"
1313
jacoco
1414
}
1515

1616
intellij {
17-
version.set("211.6693.111")
17+
version.set("221.5080.210")
1818
pluginName.set("Git extended update-index")
1919
updateSinceUntilBuild.set(true)
2020
sameSinceUntilBuild.set(false)
@@ -24,10 +24,10 @@ intellij {
2424
dependencies {
2525
implementation(kotlin("stdlib-jdk8"))
2626

27-
testImplementation(platform("org.junit:junit-bom:5.7.2"))
27+
testImplementation(platform("org.junit:junit-bom:5.8.2"))
2828
testImplementation("org.junit.jupiter:junit-jupiter")
29-
testImplementation("io.strikt:strikt-jvm:0.31.0")
30-
testImplementation("io.mockk:mockk:1.12.0")
29+
testImplementation("io.strikt:strikt-jvm:0.34.1")
30+
testImplementation("io.mockk:mockk:1.12.3")
3131
testImplementation("org.apache.commons:commons-lang3:3.12.0")
3232
}
3333

@@ -66,4 +66,4 @@ tasks {
6666

6767
repositories {
6868
mavenCentral()
69-
}
69+
}

gradle/wrapper/gradle-wrapper.jar

285 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)