Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make workingDir property internal and only expose the .git directory #145

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
runs-on: windows-latest
steps:
- uses: actions/checkout@v2.3.4 # docs: https://github.com/actions/checkout
- uses: actions/checkout@v3.3.0 # docs: https://github.com/actions/checkout
with:
fetch-depth: '0'
- name: Run build
Expand All @@ -31,7 +31,7 @@ jobs:
needs: windows_build

steps:
- uses: actions/checkout@v2.3.4 # docs: https://github.com/actions/checkout
- uses: actions/checkout@v3.3.0 # docs: https://github.com/actions/checkout
with:
fetch-depth: '0'
- name: Run build
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
dependencies {
classpath "org.shipkit:shipkit-auto-version:1.+"
classpath "org.shipkit:shipkit-changelog:1.+"
classpath "com.gradle.publish:plugin-publish-plugin:0.15.0"
classpath "com.gradle.publish:plugin-publish-plugin:1.1.0"
}
}

Expand Down Expand Up @@ -38,9 +38,9 @@ dependencies {

testImplementation 'junit:junit:4.13.2'

testImplementation "org.spockframework:spock-core:1.3-groovy-2.5"
testImplementation "org.spockframework:spock-core:2.3-groovy-3.0"
testImplementation "cglib:cglib-nodep:3.3.0" //mocking concrete classes with spock
testImplementation "org.objenesis:objenesis:3.2" //as above
testImplementation "org.objenesis:objenesis:3.3" //as above

testImplementation gradleTestKit()
}
Expand All @@ -58,4 +58,4 @@ idea {
module {
excludeDirs += file(".shelf")
}
}
}
21 changes: 6 additions & 15 deletions gradle/release.gradle
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
// docs: https://plugins.gradle.org/docs/publish-plugin
gradlePlugin {
plugins {
changelog {
id = 'org.shipkit.shipkit-changelog'
implementationClass = 'org.shipkit.changelog.ChangelogPlugin'
}
githubRelease {
id = 'org.shipkit.shipkit-github-release'
implementationClass = 'org.shipkit.github.release.GithubReleasePlugin'
}
}
}

pluginBundle {
website = 'https://github.com/shipkit/shipkit-changelog'
vcsUrl = 'https://github.com/shipkit/shipkit-changelog.git'
plugins {
changelog {
id = 'org.shipkit.shipkit-changelog'
implementationClass = 'org.shipkit.changelog.ChangelogPlugin'
displayName = 'Shipkit changelog plugin'
description = 'Generates changelog based on ticked IDs found in commit messages and Github pull request information'
tags = ['ci', 'shipkit', 'changelog']
tags.set(['ci', 'shipkit', 'changelog'])
}
githubRelease {
id = 'org.shipkit.shipkit-github-release'
implementationClass = 'org.shipkit.github.release.GithubReleasePlugin'
displayName = 'Shipkit Github release plugin'
description = 'Posts a release to Github using the REST API'
tags = ['ci', 'shipkit', 'github', 'release']
tags.set(['ci', 'shipkit', 'github', 'release'])
}
}
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading