It didn't work for me either.
I had to remove some of the Gradle tasks, related to checks IIRC.
What I did that made it work was:
1. Modify "gradle.properties" in the root of the repo, adding the following
line:
skipAutostyle=true
2. Modify every instance of
"val skipAutostyle by props()"
to
"val skipAutostyle by props(true)"
in the Gradle build files
(This line exists in "build.gradle.kts" and "buildSrc/build.gradle.kts")
3. Commented out the CheckStyle task in "core/build.gradle.kts"
//tasks.withType<Checkstyle>().configureEach {
// mustRunAfter(versionClass)
// mustRunAfter(javaCCMain)
// mustRunAfter(javaCCTest)
//}
4. Commented out "releaseArtifacts" plugin in "release/build.gradle.kts"
// releaseArtifacts {
// artifact(archiveTask)
// }
My git status looks like:
user@MSI:~/projects/calcite$ git status
modified: build.gradle.kts
modified: buildSrc/build.gradle.kts
modified: core/build.gradle.kts
modified: gradle.properties
modified: release/build.gradle.kts
Hope this helps =)
On Thu, Jan 27, 2022 at 4:03 AM Thomas Rebele <[email protected]>
wrote:
> Hello,
>
> the Calcite mailing list removes pictures. Could you please post the error
> message in text form?
>
> Cordialement / Best Regards,
> *Thomas Rebele, PhD* | R&D Developer | Germany | www.tibco.com
>
>
> On Thu, Jan 27, 2022 at 7:38 AM Aitozi <[email protected]> wrote:
>
> > Hi community:
> > I'm new to calcite community and gradle. When I followed the Howto.md
> > to import the calcite project, It always failed with the following error.
> > After some search in Google and calcite dev mail list, I stiil can't not
> > figure it out. Is there anyone can help me out? thanks in advance
> >
> > [image: image.png]
> > The version of the intellij IDEA is 2021.1.3.
> >
> > Atiozi.
> >
>