Jochen Theodorou wrote
> 
> It would be nice to be able to limit the grant, but I don't see how atm.
> 

It should be possible to limit the necessary grant(s) to the Gradle code
base. For example:

build.gradle:

tasks.withType(Test) {
  systemProperty "org.gradle.home", gradle.gradleHomeDir
}

java.policy:

grant codeBase "${org.gradle.home}/-" {
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};

Cheers,
Peter



--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Surely-a-problem-tp5685228p5687969.html
Sent from the gradle-dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to