Created
October 7, 2024 15:36
-
-
Save jeffscottbrown/6c30d4059e11c22eaab1dde48470acc5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brownj@Jeff-Brown-Unity ~ % sdk use java 11.0.22-zulu | |
| Using java version 11.0.22-zulu in this shell. | |
| brownj@Jeff-Brown-Unity ~ % | |
| brownj@Jeff-Brown-Unity ~ % sdk use grails 6.2.1 | |
| Using grails version 6.2.1 in this shell. | |
| brownj@Jeff-Brown-Unity ~ % | |
| brownj@Jeff-Brown-Unity ~ % grails create-app --jdk=11 g621app | |
| | Application created at /Users/brownj/g621app | |
| brownj@Jeff-Brown-Unity ~ % | |
| brownj@Jeff-Brown-Unity ~ % cat g621app/build.gradle | |
| plugins { | |
| id "groovy" | |
| id "org.grails.grails-web" | |
| id "org.grails.grails-gsp" | |
| id "war" | |
| id "idea" | |
| id "com.bertramlabs.asset-pipeline" | |
| id "application" | |
| id "eclipse" | |
| } | |
| group = "g621app" | |
| repositories { | |
| mavenCentral() | |
| maven { url "https://repo.grails.org/grails/core/" } | |
| } | |
| configurations { | |
| all { | |
| resolutionStrategy.eachDependency { DependencyResolveDetails details-> | |
| if (details.requested.group == 'org.seleniumhq.selenium') { | |
| details.useVersion('4.19.1') | |
| } | |
| } | |
| } | |
| } | |
| dependencies { | |
| implementation("org.grails:grails-core") | |
| implementation("org.grails:grails-logging") | |
| implementation("org.grails:grails-plugin-databinding") | |
| implementation("org.grails:grails-plugin-i18n") | |
| implementation("org.grails:grails-plugin-interceptors") | |
| implementation("org.grails:grails-plugin-rest") | |
| implementation("org.grails:grails-plugin-services") | |
| implementation("org.grails:grails-plugin-url-mappings") | |
| implementation("org.grails:grails-web-boot") | |
| implementation("org.grails.plugins:gsp") | |
| implementation("org.grails.plugins:hibernate5") | |
| implementation("org.grails.plugins:scaffolding") | |
| implementation("org.springframework.boot:spring-boot-autoconfigure") | |
| implementation("org.springframework.boot:spring-boot-starter") | |
| implementation("org.springframework.boot:spring-boot-starter-actuator") | |
| implementation("org.springframework.boot:spring-boot-starter-logging") | |
| implementation("org.springframework.boot:spring-boot-starter-tomcat") | |
| implementation("org.springframework.boot:spring-boot-starter-validation") | |
| compileOnly("io.micronaut:micronaut-inject-groovy") | |
| console("org.grails:grails-console") | |
| runtimeOnly("com.bertramlabs.plugins:asset-pipeline-grails:4.3.0") | |
| runtimeOnly("com.h2database:h2") | |
| runtimeOnly("org.apache.tomcat:tomcat-jdbc") | |
| runtimeOnly("org.fusesource.jansi:jansi:1.18") | |
| testImplementation("io.micronaut:micronaut-inject-groovy") | |
| testImplementation("org.grails:grails-gorm-testing-support") | |
| testImplementation("org.grails:grails-web-testing-support") | |
| testImplementation("org.spockframework:spock-core") | |
| testImplementation("io.micronaut:micronaut-http-client") | |
| } | |
| application { | |
| mainClass.set("g621app.Application") | |
| } | |
| java { | |
| sourceCompatibility = JavaVersion.toVersion("11") | |
| } | |
| tasks.withType(Test) { | |
| useJUnitPlatform() | |
| systemProperty "geb.env", System.getProperty('geb.env') | |
| systemProperty "geb.build.reportsDir", reporting.file("geb/integrationTest") | |
| systemProperty 'webdriver.chrome.driver', "${System.getenv('CHROMEWEBDRIVER')}/chromedriver" | |
| systemProperty 'webdriver.gecko.driver', "${System.getenv('GECKOWEBDRIVER')}/geckodriver" | |
| } | |
| assets { | |
| minifyJs = true | |
| minifyCss = true | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment