-
-
Notifications
You must be signed in to change notification settings - Fork 953
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore(core): Deprecate the old grails-shell project (#13407)"
This reverts commit 9f56ca6.
- Loading branch information
1 parent
26245fe
commit cfd9515
Showing
120 changed files
with
10,398 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## grails-shell | ||
|
||
This subproject provides code related to the Grails CLI and plugin commands. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
apply plugin:'application' | ||
|
||
mainClassName = "org.grails.cli.GrailsCli" | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
ext { | ||
gradleToolingApiVersion = '7.3-20210825160000+0000' | ||
} | ||
|
||
dependencies { | ||
api project(":grails-bootstrap") | ||
api project(":grails-gradle-model") | ||
api "org.apache.ant:ant:$antVersion" | ||
api "org.codehaus.groovy:groovy-ant:$groovyVersion" | ||
api "org.codehaus.groovy:groovy-json:$groovyVersion" | ||
api "org.codehaus.groovy:groovy-jmx:$groovyVersion" | ||
api "org.fusesource.jansi:jansi:$jansiVersion" | ||
api "jline:jline:$jlineVersion" | ||
api "org.gradle:gradle-tooling-api:$gradleToolingApiVersion" | ||
|
||
api "org.springframework.boot:spring-boot-cli:$springBootVersion", { | ||
exclude group: "org.codehaus.groovy", module: "groovy" | ||
} | ||
implementation("org.apache.maven:maven-resolver-provider:3.9.6") { | ||
exclude group: "com.google.guava", module: "guava" | ||
} | ||
|
||
implementation("org.apache.maven.resolver:maven-resolver-connector-basic:1.9.18") | ||
implementation("org.apache.maven.resolver:maven-resolver-impl:1.9.18") | ||
implementation("org.apache.maven.resolver:maven-resolver-transport-file:1.9.18") | ||
implementation("org.apache.maven.resolver:maven-resolver-transport-http:1.9.18") { | ||
exclude group: "org.slf4j", module:"jcl-over-slf4j" | ||
exclude group: "commons-codec", module:"commons-codec" | ||
} | ||
implementation("commons-codec:commons-codec:1.16.0") | ||
|
||
testImplementation "net.sf.expectit:expectit-core:0.9.0" | ||
testImplementation "com.github.jnr:jnr-posix:3.1.18" | ||
|
||
runtimeOnly "org.slf4j:slf4j-simple:$slf4jVersion" | ||
runtimeOnly "org.codehaus.plexus:plexus-component-api:1.0-alpha-33" | ||
|
||
} | ||
|
||
eclipse { | ||
classpath { | ||
file { | ||
whenMerged { classpath -> | ||
classpath.entries.find { entry -> entry.kind == 'src' && entry.path == "src/test/resources" }?.excludes=["profiles-repository/**", "gradle-sample/**"] | ||
} | ||
} | ||
} | ||
} | ||
|
||
apply from: "../gradle/integration-test.gradle" | ||
|
||
integrationTest { | ||
// jline doesn't use jline.terminal system property when TERM is dumb so use different TERM value for tests | ||
// https://github.com/jline/jline2/blob/6a1b6bf/src/main/java/jline/TerminalFactory.java#L54-L57 | ||
environment 'TERM', 'xterm' | ||
// execute in single thread | ||
maxParallelForks = 1 | ||
} |
Oops, something went wrong.