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

Simplify overcomplicated build script - Phase 1 #399

Open
codeconsole opened this issue Oct 11, 2024 · 0 comments · Fixed by #424
Open

Simplify overcomplicated build script - Phase 1 #399

codeconsole opened this issue Oct 11, 2024 · 0 comments · Fixed by #424

Comments

@codeconsole
Copy link
Contributor

  1. Delete buildSrc
  2. Delete settings.gradle
  3. Replace top of build.gradle

with

buildscript {
    repositories {
        maven { url "https://repo.grails.org/grails/core/" }
    }
    dependencies {
        classpath "org.grails:grails-gradle-plugin:7.0.0-SNAPSHOT"
    }
}

plugins {
    id "com.bertramlabs.asset-pipeline" version "5.0.1"
    id "com.github.erdi.webdriver-binaries" version "3.2"
    id "war"
    id "idea"
    id "application"
    id "com.github.ben-manes.versions" version "0.51.0"
}
apply plugin:"org.grails.grails-web"
apply plugin:"org.grails.grails-gsp"

Phase 2: Get ride of buildscript {} by publishing to Grails Gradle plugin to Gradle plugin repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant