diff --git a/README.md b/README.md index 0bac348..cd264ad 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/grails3/build.gradle b/grails3/build.gradle index f4e1869..2509226 100644 --- a/grails3/build.gradle +++ b/grails3/build.gradle @@ -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' @@ -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 - } -} \ No newline at end of file diff --git a/grails3/gradle.properties b/grails3/gradle.properties index 8d4a4a8..bfe1e27 100644 --- a/grails3/gradle.properties +++ b/grails3/gradle.properties @@ -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 diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..7cbe19f --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'console'