Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Due to bintray returning 502 error, must replace repositories #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# This is Moqui GraphQL Add-On Component
# Fork of the Moqui GraphQL Add-On Component
Reasons for fork ([See Original Project](shendepu/moqui-graphql)):
- At time of writing, last commit was over a year ago and has not been actively been developed since 2018.
- Breaking changes have been introduced because of JCenter sunsetting [see PR](https://github.com/shendepu/moqui-graphql/pull/8)



This [Moqui](https://github.com/moqui/moqui-framework) add-on component adds support of [GraphQL](graphql.org) to Moqui.

The way to use it is just simliar to REST Api in moqui-framework.
The way to use it is just similar to REST Api in moqui-framework.

- The GraphQL endpoint is `/graphql/v1?query={graphQLQueryString}` or `/graphql/v1?query={graphQLQueryString}&&variables={graphQLVariables}`
- The configuration of GraphQL Schema is *.graphql.xml under service directory of component
Expand Down Expand Up @@ -31,4 +36,4 @@ One special case:

# License

Moqui GraphQL is [CC0-licensed](./LICENSE.md). we also provide an addition [copyright and patent grant](./AUTHORS)
Moqui GraphQL is [CC0-licensed](./LICENSE.md). we also provide an addition [copyright and patent grant](./AUTHORS)
12 changes: 8 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ version = componentNode.@version
// to run use "gradle dependencyUpdates"
apply plugin: 'com.github.ben-manes.versions'
buildscript {
repositories { jcenter() }
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies { classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0' }
}

Expand All @@ -23,13 +26,14 @@ dependencyUpdates.resolutionStrategy = { componentSelection { rules -> rules.all
repositories {
flatDir name: 'frameworkLib', dirs: frameworkDir.absolutePath + '/lib'
//flatDir name: 'localLib', dirs: projectDir.absolutePath + '/lib'
jcenter()
maven { url "http://dl.bintray.com/andimarek/graphql-java" }
mavenCentral()
}

dependencies {
compile project(':framework')

compile 'com.graphql-java:graphql-java:4.2'

testCompile project(':framework').configurations.testCompile.allDependencies
}

Expand Down Expand Up @@ -70,4 +74,4 @@ test {
classpath = classpath.filter { it.exists() }

beforeTest { descriptor -> logger.lifecycle("Running test: ${descriptor}") }
}
}