Skip to content

Commit

Permalink
Correct dependency scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl committed Nov 23, 2023
1 parent d65f482 commit 2e9bce0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
12 changes: 6 additions & 6 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ apply plugin: 'codenarc'
dependencies {
documentation "org.codehaus.groovy:groovy-cli-picocli:$groovyVersion"

implementation "org.grails:grails-datastore-gorm:${gormVersion}"
implementation "com.graphql-java:graphql-java:$graphqlJavaVersion"
implementation "com.graphql-java:graphql-java-extended-scalars:$graphqlJavaScalarExtVersion"
implementation 'com.github.javaparser:javaparser-core:3.25.5'
implementation "org.grails.plugins:views-json:2.3.2"
implementation 'org.javassist:javassist:3.29.2-GA'
api "org.grails:grails-datastore-gorm:${gormVersion}"
api "com.graphql-java:graphql-java:$graphqlJavaVersion"
api "com.graphql-java:graphql-java-extended-scalars:$graphqlJavaScalarExtVersion"
api 'com.github.javaparser:javaparser-core:3.25.5'
api "org.grails.plugins:views-json:2.3.2"
api 'org.javassist:javassist:3.29.2-GA'

codenarc "org.codenarc:CodeNarc:$codenarcVersion"

Expand Down
25 changes: 12 additions & 13 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,24 @@ apply plugin:"org.grails.grails-plugin"
apply plugin:"org.grails.plugins.views-json"

dependencies {

implementation "org.grails:grails-plugin-controllers"
implementation "org.grails:grails-plugin-databinding"
implementation("org.grails:grails-plugin-rest") {
api "org.grails:grails-plugin-controllers"
api "org.grails:grails-plugin-databinding"
api("org.grails:grails-plugin-rest") {
exclude group: 'org.grails.plugins', module: 'converters'
}
implementation "org.grails:grails-plugin-url-mappings"
implementation "org.grails.plugins:views-json:$viewsJsonVersion"
implementation 'io.micronaut.rxjava2:micronaut-rxjava2-http-client:1.2.0'
implementation "javax.servlet:javax.servlet-api:$servletApiVersion"
implementation "io.micronaut:micronaut-http-client:$micronautVersion"
implementation "org.grails.plugins:converters:3.3.1"
implementation 'com.github.javaparser:javaparser-core:3.25.5'
implementation "com.graphql-java:graphql-java:$graphqlJavaVersion"
api "org.grails:grails-plugin-url-mappings"
api "org.grails.plugins:views-json:$viewsJsonVersion"
api 'io.micronaut.rxjava2:micronaut-rxjava2-http-client:1.2.0'
api "javax.servlet:javax.servlet-api:$servletApiVersion"
api "io.micronaut:micronaut-http-client:$micronautVersion"
api "org.grails.plugins:converters:3.3.1"
api 'com.github.javaparser:javaparser-core:3.25.5'
api "com.graphql-java:graphql-java:$graphqlJavaVersion"
testImplementation "org.grails:grails-web-testing-support"
testImplementation "cglib:cglib-nodep:3.3.0"
profile "org.grails.profiles:web-plugin"

compile project(":gorm-graphql")
api project(":gorm-graphql")
}

compileGsonViews {
Expand Down

0 comments on commit 2e9bce0

Please sign in to comment.