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

Register tasks earlier #201

Merged
merged 2 commits into from
Dec 30, 2023
Merged
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
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public void apply(Settings settings) {
prj.setVersion(sharedVersion);
});

settings.getGradle().projectsLoaded(gradle -> {
var tag = createTagTask(settings.getGradle().getRootProject(), extension);
var push = createPushTask(settings.getGradle().getRootProject(), extension);
settings.getGradle().rootProject(rootProject -> {
var tag = createTagTask(rootProject, extension);
var push = createPushTask(rootProject, extension);
push.configure(t -> t.dependsOn(tag));
});
}
Expand Down
6 changes: 3 additions & 3 deletions reckon-gradle/stutter.lockfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DO NOT MODIFY: Generated by Stutter plugin.
java11=7.0.2,7.6.3,8.0.2,8.4
java17=7.3.3,7.6.3,8.0.2,8.4
java21=8.4
java11=7.0.2,7.6.3,8.0.2,8.5,8.6-rc-1
java17=7.3.3,7.6.3,8.0.2,8.5,8.6-rc-1
java21=8.4,8.5,8.6-rc-1
6 changes: 3 additions & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ pluginManagement {
id("org.ajoberstar.defaults.java-library") version "0.17.5"
id("org.ajoberstar.defaults.gradle-plugin") version "0.17.5"

id("org.ajoberstar.reckon.settings") version "0.18.0"
id("org.ajoberstar.stutter") version "0.7.2"
id("org.ajoberstar.reckon.settings") version "0.18.1"
id("org.ajoberstar.stutter") version "0.7.3"

id("com.diffplug.spotless") version "6.22.0"
id("com.diffplug.spotless") version "6.23.3"
}

repositories {
Expand Down