Skip to content

Commit

Permalink
build: Simplify build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Dec 6, 2022
1 parent d5423d7 commit 8507229
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
run: ./gradlew -Pprofile=release publishPlugins publish cleanupStagedRepository -S
run: ./gradlew -PreproducibleBuild=true publishPlugins publish cleanupStagedRepository -S

- name: Release
uses: jreleaser/release-action@v2
Expand Down
11 changes: 2 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "org.ajoberstar.grgit:grgit-core:$grgitVersion"
}
}

plugins {
id 'org.kordamp.gradle.kordamp-parentpom'
Expand All @@ -44,6 +35,7 @@ config {
description = 'Enforcer Gradle Plugin'
inceptionYear = '2020'
tags = ['project', 'enforcer']
bytecodeVersion = 8

specification {
enabled = false
Expand All @@ -52,6 +44,7 @@ config {
implementation {
enabled = false
}

}

docs {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ commonsIoVersion = 2.11.0
commonsLang3Version = 3.10
osMavenPluginVersion = 1.7.1
mavenVersion = 3.8.6
kordampPluginVersion = 0.46.0
kordampPomVersion = 2.5.0
kordampPluginVersion = 0.46.3
kordampPomVersion = 2.7.0
gitPluginVersion = 3.0.1
grgitVersion = 4.1.1

Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ buildscript {
classpath "org.kordamp.gradle:settings-gradle-plugin:$kordampPluginVersion"
classpath "org.kordamp.gradle:inline-gradle-plugin:$kordampPluginVersion"
classpath "org.kordamp.gradle:insight-gradle-plugin:$kordampPluginVersion"
classpath "org.ajoberstar.grgit:grgit-core:$grgitVersion"
}
}
apply plugin: 'org.kordamp.gradle.settings'
Expand Down

0 comments on commit 8507229

Please sign in to comment.