Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,23 @@ The [1.X](https://grails.org/plugin/console) version is for Grails 2, while the
Add a dependency in BuildConfig.groovy:

```groovy
runtime ':console:1.5.5'
grails.project.dependency.resolution = {
// ...
plugins {
runtime ':console:1.5.5'
// ...
}
}
```

### Grails 3

**Note:** If using Grails 3.0.4, you need to update the asset-pipeline dependency in build.gradle to 3.0.6 or greater. 3.0.5 is used by default and has a bug that prevents the console page from rendering.

Add a dependency in build.gradle

```groovy
runtime 'org.grails.plugins:grails-console:2.0.2'
runtime 'org.grails.plugins:console:2.0.2'
```

## Usage
Expand Down
16 changes: 1 addition & 15 deletions grails3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apply plugin: 'idea'
apply plugin: "spring-boot"
apply plugin: "org.grails.grails-plugin"
apply plugin: "org.grails.grails-gsp"
// Used for publishing to central repository, remove if not needed

apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/grailsCentralPublishing.gradle'
apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/bintrayPublishing.gradle'

Expand Down Expand Up @@ -78,17 +78,3 @@ task repairPublicFiles(type: Copy) { // https://github.com/grails/grails-core/is
into 'build/resources/main/static'
}
processResources.finalizedBy repairPublicFiles

bintray {
pkg {
repo = 'grails-plugins'
userOrg = 'sheehan'
name = 'org.grails.plugins:console'
desc = 'Grails Console Plugin'
websiteUrl = 'https://grails.org/plugin/console'
issueTrackerUrl = 'https://github.com/sheehan/grails-console/issues'
vcsUrl = 'https://github.com/sheehan/grails-console'
licenses = ['Apache-2.0']
publicDownloadNumbers = true
}
}
7 changes: 7 additions & 0 deletions grails3/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
grailsVersion=3.0.1
gradleWrapperVersion=2.3

repo=grails-plugins
userOrg=sheehan
desc=Grails Console Plugin
websiteUrl=https://github.com/sheehan/grails-console
issueTrackerUrl=https://github.com/sheehan/grails-console/issues
vcsUrl=https://github.com/sheehan/grails-console
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = 'console'