Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove `@ToBeFixedForInstantExecution` from `PluginUnderTestMetadataIntegrationTest`

Constrain precompiled Groovy plugins test against 6.0 to pre-14 JDK

Use Java in generated adapter class, because it is so much faster

  1. … 4 more files in changeset.
Test precompiled Groovy plugins against Gradle 6.0

Merge branch 'vv/precompiled-groovy-plugins' into vv/precompiled-groovy-plugins-backwards-compat

# Conflicts:

# subprojects/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/GeneratePluginAdaptersTask.java

# subprojects/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/PrecompiledGroovyPluginsPlugin.java

  1. … 4 more files in changeset.
Remodel precompile Groovy plugins wiring

Use separate tasks for extracting plugin requests, generating the adapter class, and compiling the script bodies.

This allows to compile the adapters together with the main source sets.

  1. … 5 more files in changeset.
Merge branch 'vv/precompiled-groovy-plugins' into vv/precompiled-groovy-plugins-backwards-compat

# Conflicts:

# subprojects/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/PrecompileGroovyScriptsTask.java

# subprojects/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/PrecompiledGroovyPluginsPlugin.java

# subprojects/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/PrecompiledScriptRunner.java

  1. … 2 more files in changeset.
Allow plugins {} block in precompiled Groovy settings plugins

  1. … 1 more file in changeset.
Use an init script to test precompiled Groovy init script plugins

More fixes.

  1. … 6 more files in changeset.
Improve precompiled Groovy plugin test assertions

Make precompiled Groovy plugins backwards compatible

By not using a PrecompiledScriptRunner class but rather generating the required code in the plugin adapter class.

  1. … 4 more files in changeset.
Rename precompiled-groovy-plugin to groovy-gradle-plugin

  1. … 2 more files in changeset.
Ensure Groovy plugins are recompiled when project sources change

  1. … 1 more file in changeset.
Use a real library in precompiled plugin test

Creating and publishing one to be tested against leaks a file handle in Windows somehow.

Cleanup maven repo after test - attempt to fix Windows file leak

Make commpilePluginAdapters task build-cache friendly

  1. … 1 more file in changeset.
Add separate JavaCompile task for precompiled Groovy plugin adapters

So that the usual source sets can be compiled first and their outputs included in the Groovy script compile classpath.

  1. … 3 more files in changeset.
Ensure project dependencies are included in precompiled Groovy plugin compile classpath

  1. … 2 more files in changeset.
Gracefully fail to apply a precompiled Groovy plugin for Gradle 6.3 and below

  1. … 1 more file in changeset.
Use FileSystemOperations in PrecompileGroovyScriptsTask to work with instant execution

  1. … 1 more file in changeset.
Make precompiled script classes names consistent

Word 'precompiled' should be all lowercase, not 'preCompiled'.

  1. … 13 more files in changeset.
Ensure generated Plugin classes for Groovy script plugins do not clash

By basing the Plugin class name off the fully qualified plugin ID and not just its name part.

  1. … 2 more files in changeset.
Rename PreCompiledPlugin pattern to PreCompiledGroovyPlugin for Groovy impl

  1. … 8 more files in changeset.
Rely on compiled classes only in precompiled Groovy plugin runner

  1. … 6 more files in changeset.
Rely on compiled classes only in precompiled Groovy plugin runner

  1. … 7 more files in changeset.
Rely on compiled classes only in precompiled Groovy plugin runner

  1. … 7 more files in changeset.
Rely on compiled classes only in precompiled Groovy plugin runner

  1. … 6 more files in changeset.
Rely on compiled classes only in precompiled Groovy plugin runner

  1. … 7 more files in changeset.
Disallow plugins block for precompiled init and settings plugins

  1. … 2 more files in changeset.