Giter Site home page Giter Site logo

Comments (8)

machak avatar machak commented on June 28, 2024

hm..never seen that one. What version of gradle are you using? I am running it with Gradle 4.10.2
version. Check also:

https://stackoverflow.com/questions/27470443/could-not-find-method-jcenter-for-arguments-on-repository-container

from aql-intellij-plugin.

konsultaner avatar konsultaner commented on June 28, 2024

gradle -v outputs this:

Gradle 4.0.1
------------------------------------------------------------

Build time:   2017-07-07 14:02:41 UTC
Revision:     38e5dc0f772daecca1d2681885d3d85414eb6826

Groovy:       2.4.11
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_121 (Oracle Corporation 25.121-b13)
OS:           Windows 10 10.0 amd64

Should I update gradle?

from aql-intellij-plugin.

machak avatar machak commented on June 28, 2024

I have slightly different versions (see below) so, while you could try, I have a feeling it will not help.
(disclaimer: I mostly work with maven so my Gradle knowledge is quite limited)

Gradle 4.10.2

Build time: 2018-09-19 18:10:15 UTC
Revision: b4d8d5d170bb4ba516e88d7fe5647e2323d791dd

Kotlin DSL: 1.0-rc-6
Kotlin: 1.2.61
Groovy: 2.4.15
Ant: Apache Ant(TM) version 1.9.11 compiled on March 23 2018
JVM: 1.8.0_162 (Oracle Corporation 25.162-b12)
OS: Linux 4.18.0-12-generic amd64

from aql-intellij-plugin.

machak avatar machak commented on June 28, 2024

could you do an update and try again?
I removed plugin repo block, I think it is not needed at all.

from aql-intellij-plugin.

konsultaner avatar konsultaner commented on June 28, 2024

I tried to build it with gradle 5, which is the latest and I got this:


> Task :test

com.arangodb.intellij.aql.grammar.generated.AqlParserTest > testAqlQueries FAILED
    java.lang.RuntimeException at AqlParserTest.java:24
        Caused by: java.io.FileNotFoundException at AqlParserTest.java:24

com.arangodb.intellij.aql.syntax.AqlCommenterTest > testComment FAILED
    java.lang.RuntimeException at AqlCommenterTest.java:13
        Caused by: java.io.FileNotFoundException at AqlCommenterTest.java:13

com.arangodb.intellij.aql.syntax.AqlCommenterTest > testBlockComment FAILED
    java.lang.RuntimeException at AqlCommenterTest.java:19
        Caused by: java.io.FileNotFoundException at AqlCommenterTest.java:19
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=250m; support was removed in 8.0

6 tests completed, 3 failed

> Task :test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///C:/Users/Richard%20Burkhardt/IdeaProjects/aql-intellij-plugin/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 21s
14 actionable tasks: 3 executed, 11 up-to-date

from aql-intellij-plugin.

konsultaner avatar konsultaner commented on June 28, 2024

I'm on java 8_121

from aql-intellij-plugin.

machak avatar machak commented on June 28, 2024

@konsultaner
that is bit unfortunate and a known issue I still need to fix (Intellij test fixtures related issue)
You can skip test for now by running it with:
gradle build -x test

from aql-intellij-plugin.

konsultaner avatar konsultaner commented on June 28, 2024

@machak THANK YOU! It worked

from aql-intellij-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.