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

chore(build): Modernise and clean up build #504

Merged
merged 17 commits into from
Feb 21, 2024
Merged

chore(build): Modernise and clean up build #504

merged 17 commits into from
Feb 21, 2024

Commits on Jan 25, 2024

  1. chore(build): Modernise and clean up build

    - Implement buildSrc to isolate build related code and deps
    - Rename gradle plugin project dir to gradle-plugin
    - Add gradle dir for version catalogs
    - Implement version catalogs to handle versions
    - Remove redundant gradle files from subprojects
    - Move grailsCentralPublishing.gradle to gradle dir
    - Use project.layout to reference files and dirs
    - Make build more type-safe with IDE code completion
    - Unify quote usage
    - Clean up dependencies and tighten their scopes
    - Use lazy configuration where possible
    - Remove unused ext properties
    - Create workarounds for grails-gradle-plugin exposing groovy
    - Remove used resources and attribute to asciidoctor task
    - Fix classpath issues with groovydoc task
    - Change 'docs' task as there is nothing to copy
    - Change jar manifest to reflect projects properties
    - Remove redundant Application.groovy from views-markup
    - Update example projects
    - Add missing CompileStatic and make compatible with Groovy 3.0.21-SNAPSHOT
    matrei committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    858f61b View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. fix(build): Move Snapshot repos to the right place

    The snapshot repositories had accidentally been placed outside
    the configuration of the PublishingExtension.
    matrei committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    41cd8ed View commit details
    Browse the repository at this point in the history
  2. build(chore): Clean up secret passing from GH action

    By using the ORG_GRADLE_PROJECT_** env vars build files can
    be cleaned up from checking at multiple places for the values.
    matrei committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    17f321d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75b4036 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. build: Declare grailsVersion in one place

    With this change the Grails version is only declared once.
    matrei committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    cec2e8a View commit details
    Browse the repository at this point in the history
  2. build: Update Groovy Joint workflow

    The groovy version was not resolved correctly previously. With this change it gets set as three different environment vars. CI_GROOVY_VERSION and GROOVY_VERSION as regular environment vars and with ORG_GRADLE_PROJECT_groovyVersion that sets the groovyVersion project property. This allows for some choices in how to handle this in the build script.
    
    This change also adds a section to the settings.gradle file to allow for overriding the groovy version in the version catalog with the GROOVY_VERSION env variable.
    matrei committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    999b2c6 View commit details
    Browse the repository at this point in the history
  3. build: Create configuration for Groovydoc

    The Groovydoc Gradle task need to be run with the same groovy
    version as Gradle.
    matrei committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    1e65bd7 View commit details
    Browse the repository at this point in the history
  4. build: Change workflow JDK to temurin

    AdoptOpenJDK got moved to Eclipe Temurin and won't
    be updated anymore.
    matrei committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    f2482b1 View commit details
    Browse the repository at this point in the history
  5. build: Cleanup handling of sonatype credentials

    With this change there is no need to check both environment
    variables and project properties.
    Also move the sonatype repo info to a project property.
    matrei committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    c9cfaa9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8988885 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9056d6f View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. build: Make groovy workflow version independent

    With this change the workflow will use the versions of groovy
    and gradle enterprise that are defined in the build rather
    than hard-coding them in the actions file.
    matrei committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    4b4cbf9 View commit details
    Browse the repository at this point in the history
  2. build: Minor cleanups

    matrei committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    8d3f0e8 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. ci: Remove publishing of test reports

    These can now be viewed in build scans.
    matrei committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    c321677 View commit details
    Browse the repository at this point in the history
  2. build: Remove unused import

    matrei committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    6395d26 View commit details
    Browse the repository at this point in the history
  3. ci: Remove java version matrix for release

    No need to run this on multiple versions
    matrei committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    73233e1 View commit details
    Browse the repository at this point in the history
  4. build: Change author and git email

    Puneet has a new email
    matrei committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    bc21c22 View commit details
    Browse the repository at this point in the history