Skip to content
#

Groovy

groovy logo

Apache Groovy is a Java-syntax-compatible object-oriented programming language for the Java platform. It is both a static and dynamic language with features similar to those of Python, Ruby, and Smalltalk. It can be used as both a programming language and a scripting language for the Java Platform, is compiled to Java virtual machine (JVM) bytecode, and interoperates seamlessly with other Java code and libraries.

Here are 1,411 public repositories matching this topic...

GwilymTurner
GwilymTurner commented Feb 12, 2020

I was trying to use REST Assured for the first and was going through the documentation to help me but was getting nowhere. I had put in the correct Maven repository and have copied the relevant classes to be imported but was getting nowhere.
After fiddling around for ages, I had discovered that the classes had to be statically imported but since I had directly copied the classes from the wiki, I

benmccann
benmccann commented May 3, 2020

I see various references to bom in the build file, docs, etc. E.g. the docs say "The no longer used group for Graal is no longer part of the bom". I'm not sure what this means. It would be useful to add a definition for bom (I'm guessing it's not the definition I know of "byte order mark" 😉)

szpak
szpak commented Mar 23, 2020

Issue description

The TemporaryFolder rule from JUnit 4 can only be used with the spock-junit4 module. It should work flawlessly, but eventually, to get rid of junit4.jar from the classpath of projects using Spock 2 it would be nice to have a native replacement for Spock.

Similar implementations to look at:

happy-code-com
happy-code-com commented Mar 19, 2020

Good day
I have a problem connecting the presto driver

%%classpath add mvn
com.facebook.presto presto-base-jdbc 0.232
%defaultDatasource jdbc:presto://root@127.0.0.1:8282/hive/default

I can not figure it out and I can not see the full error trace.

image

nextflow
twbattaglia
twbattaglia commented Jan 7, 2020

New feature

Ability to specify the Compute Engine disk type (pd-standard or local-SSD) found in the new Cloud Life Sciences API (https://cloud.google.com/life-sciences/docs/reference/rpc/google.cloud.lifesciences.v2beta#disk).

Usage scenario

Job's that require a high input/output operations per second and lower latency (https://cloud.google.com/compute/docs/disks/local-ssd).

S

nurkiewicz
nurkiewicz commented Dec 8, 2017

Please document if the library is thread-safe. I'm generating millions of test samples and want to know if I can safely reuse the same instance across threads. Also during prototyping, I use Fairy object as a Spring singleton bean - is it safe as well?

Another question - if I create hundreds of Fairy instances in quick succession, will they produce different samples? Or maybe (due to the sa

eric-milles
eric-milles commented Feb 18, 2019

Consider the following:

void meth(Closure closure) {
  closure.|
}

When invoking content assist (Ctrl+Space) at |, the methods and properties of groovy.lang.Closure are very low in the list of proposals. This is due to very-well-known type adjustments made within org.codehaus.groovy.eclipse.codeassist.proposals.AbstractGroovyProposal.getRelevanceClass().

AhmadAbdelghany
AhmadAbdelghany commented Feb 9, 2018

For the sake of completeness, would it be possible to give a complete example of a custom operator in the documentation?
I understand that semantics of the operator is not a concern of the parser, so my request should really be directed to rsql-jpa. I just could not find a way to open an issue on their project.

freudi74
freudi74 commented Oct 9, 2019

I'm trying to clone/checkout a git repository using grgit, that has submodules.
Using git from commandline that can be done using:
git clone --recurse-submodules
There seem to be no way to do that with grgit, or am I missing something?
JGit seem to have a setCloneSubmodules(boolean) method in the CloneCommand class. Can support to use that be added to grgit?

mphouston
mphouston commented Jan 28, 2020

This is a suggested addition to the Micronaut-Data docs on @transactional. Please consider adding this note to section "6.1 Transactions":

NOTE: The javax.transaction.Transactional annotation is only supported in repositories and beans processed by Micronaut. Using @transactional on other methods/classes does not initiate a transaction. See "Programmatic Transactions" for hints on how to use

Created by James Strachan

Released 2003

Repository
apache/groovy
Website
groovy-lang.org
Wikipedia
Wikipedia

Related Topics

grails java
You can’t perform that action at this time.