Skip to content

Conversation

@jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented Oct 2, 2025

Switched several dependencies from implementation/api to compileOnly. Disabled Grails springDependencyManagement and added testImplementation for grails-bom.

Switched to grails-dependencies-starter-web and grails-dependencies-test dependencies to simplify

resolves: #158

…odule

Switched several dependencies from implementation/api to compileOnly. Disabled Grails springDependencyManagement and added testImplementation for grails-bom.
@jamesfredley jamesfredley self-assigned this Oct 2, 2025
@jamesfredley jamesfredley moved this to In Progress in Apache Grails Oct 2, 2025
@jamesfredley jamesfredley added this to the grails:7.0.0 milestone Oct 2, 2025
@jamesfredley
Copy link
Contributor Author

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <!-- This module was also published with a richer model, Gradle metadata,  -->
  <!-- which should be used instead. Do not delete the following line which  -->
  <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
  <!-- that they should prefer consuming it instead. -->
  <!-- do_not_remove: published-with-gradle-metadata -->
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.grails</groupId>
  <artifactId>grails-quartz</artifactId>
  <version>4.0.0-SNAPSHOT</version>
  <name>Grails Quartz Plugin</name>
  <description>This plugin allows your Grails application to schedule jobs to be executed using a specified interval or cron expression.</description>
  <url>https://github.com/apache/grails-quartz</url>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>burtbeckwith</id>
      <name>Burt Beckwith</name>
    </developer>
    <developer>
      <id>jeffscottbrown</id>
      <name>Jeff Scott Brown</name>
    </developer>
    <developer>
      <id>graemerocher</id>
      <name>Graeme Rocher</name>
    </developer>
    <developer>
      <id>ryanvanderwerf</id>
      <name>Ryan Vanderwerf</name>
    </developer>
    <developer>
      <id>sergeynebolsin</id>
      <name>Sergey Nebolsin</name>
    </developer>
    <developer>
      <id>puneetbehl</id>
      <name>Puneet Behl</name>
    </developer>
    <developer>
      <id>vitaliisamolovskikh</id>
      <name>Vitalii Samolovskikh</name>
    </developer>
  </developers>
  <scm>
    <connection>scm:git@github.com:apache/grails-quartz.git</connection>
    <developerConnection>scm:git@github.com:apache/grails-quartz.git</developerConnection>
    <url>https://github.com/apache/grails-quartz</url>
  </scm>
  <issueManagement>
    <system>GitHub Issues</system>
    <url>https://github.com/apache/grails-quartz/issues</url>
  </issueManagement>
  <dependencies>
    <dependency>
      <groupId>org.quartz-scheduler</groupId>
      <artifactId>quartz</artifactId>
      <version>2.5.0</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>

@jamesfredley
Copy link
Contributor Author

jamesfredley commented Oct 2, 2025

{
  "formatVersion": "1.1",
  "component": {
    "group": "org.apache.grails",
    "module": "grails-quartz",
    "version": "4.0.0-SNAPSHOT",
    "attributes": {
      "org.gradle.status": "integration"
    }
  },
  "createdBy": {
    "gradle": {
      "version": "8.14.3"
    }
  },
  "variants": [
    {
      "name": "apiElements",
      "attributes": {
        "org.gradle.category": "library",
        "org.gradle.dependency.bundling": "external",
        "org.gradle.jvm.version": 17,
        "org.gradle.libraryelements": "jar",
        "org.gradle.usage": "java-api"
      },
      "dependencies": [
        {
          "group": "org.quartz-scheduler",
          "module": "quartz"
        }
      ],
      "files": [
        {
          "name": "grails-quartz-4.0.0-SNAPSHOT.jar",
          "url": "grails-quartz-4.0.0-SNAPSHOT.jar",
          "size": 91068,
          "sha512": "3f6cd15b142f5b934eaf384f8106f45157550a15718e3d3207010a321850c15a8c8179cf8c08194c32869c26648ad15aefa7277d421803904caebea3e9316c3f",
          "sha256": "3b126d6d2728c8b2c8f5b57f876e911438b477e6047ac3054a9312493a0c4f22",
          "sha1": "4904a1f92c6aa99ef88e0c9eafd7230afe8e0397",
          "md5": "9aff8d4fdbcd387ed474b334775ae3c1"
        }
      ]
    },
    {
      "name": "runtimeElements",
      "attributes": {
        "org.gradle.category": "library",
        "org.gradle.dependency.bundling": "external",
        "org.gradle.jvm.version": 17,
        "org.gradle.libraryelements": "jar",
        "org.gradle.usage": "java-runtime"
      },
      "dependencies": [
        {
          "group": "org.apache.grails",
          "module": "grails-bom",
          "version": {
            "requires": "7.0.0-RC2"
          },
          "attributes": {
            "org.gradle.category": "platform"
          },
          "endorseStrictVersions": true
        },
        {
          "group": "org.quartz-scheduler",
          "module": "quartz"
        }
      ],
      "files": [
        {
          "name": "grails-quartz-4.0.0-SNAPSHOT.jar",
          "url": "grails-quartz-4.0.0-SNAPSHOT.jar",
          "size": 91068,
          "sha512": "3f6cd15b142f5b934eaf384f8106f45157550a15718e3d3207010a321850c15a8c8179cf8c08194c32869c26648ad15aefa7277d421803904caebea3e9316c3f",
          "sha256": "3b126d6d2728c8b2c8f5b57f876e911438b477e6047ac3054a9312493a0c4f22",
          "sha1": "4904a1f92c6aa99ef88e0c9eafd7230afe8e0397",
          "md5": "9aff8d4fdbcd387ed474b334775ae3c1"
        }
      ]
    },
    {
      "name": "javadocElements",
      "attributes": {
        "org.gradle.category": "documentation",
        "org.gradle.dependency.bundling": "external",
        "org.gradle.docstype": "javadoc",
        "org.gradle.usage": "java-runtime"
      },
      "files": [
        {
          "name": "grails-quartz-4.0.0-SNAPSHOT-javadoc.jar",
          "url": "grails-quartz-4.0.0-SNAPSHOT-javadoc.jar",
          "size": 106953,
          "sha512": "41c96853bbcf3f81a1e0b87827207415333a894e8fbb02dab6c87803ef6f847a7ecd6e6f80267aa2fc498d20c97f3d7c1624e5de7effe165af64c2a2f0a2f4d5",
          "sha256": "a985e1e4e727fed3749965d4d33cdd1b4bb48b4af5e0f913fd7374bf5a14370b",
          "sha1": "ae8e038cfc1138dc8b44c98e415da026a59641f7",
          "md5": "0a094be644552bd4112481acb8aa4896"
        }
      ]
    },
    {
      "name": "sourcesElements",
      "attributes": {
        "org.gradle.category": "documentation",
        "org.gradle.dependency.bundling": "external",
        "org.gradle.docstype": "sources",
        "org.gradle.usage": "java-runtime"
      },
      "files": [
        {
          "name": "grails-quartz-4.0.0-SNAPSHOT-sources.jar",
          "url": "grails-quartz-4.0.0-SNAPSHOT-sources.jar",
          "size": 39866,
          "sha512": "d8a020682149a27758d2484aa42bd21d12ea0d81280e2da6c6e91d9de0f759594d76e7c78abcd8a9cfbf4f960d947e3c7b2cc843b63f418ebc02fb39301cc87d",
          "sha256": "7094f26de4a4fc81750070b9de7415442ee02598af059d58d0d6483487f44df2",
          "sha1": "4f15106831e5e3a4c991f9816eeb5edd200744f5",
          "md5": "1c19ef02b90d3289adeda4677a8fa66f"
        }
      ]
    }
  ]
}

Bump Gradle wrapper version from 8.14.2 to 8.14.3 to use the latest features and fixes.
Bumps the Gradle version from 8.14.2 to 8.14.3 for local development environment configuration.
Reorganized and simplified dependency declarations by removing individual compileOnly and testImplementation entries in favor of 'grails-dependencies-starter-web' and 'grails-dependencies-test'. This streamlines dependency management and reduces redundancy.
Updated build.gradle to use implementation platform for Grails BOM and removed redundant platform declarations. Also removed the unused quartzVersion property from gradle.properties, as the version is now managed by the BOM.
Copy link
Contributor

@jdaugherty jdaugherty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separately from this PR: we should open a ticket to create an example project to better test this going forward. We can restructure the repo at the same time.

@jamesfredley
Copy link
Contributor Author

#164

@jamesfredley jamesfredley merged commit 237ab98 into 4.0.x Oct 8, 2025
5 checks passed
@jamesfredley jamesfredley deleted the adjust-published-dependencies branch October 8, 2025 18:45
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache Grails Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Adjust published dependencies to remove specific grails-bom or other grails-core versions

2 participants