JvmComponentPluginIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extract core JVM platform classes into new subproject ‘platform-jvm’

    • -227
    • +0
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 89 more files in changeset.
more renamings

ProjectBinary -> BinarySpec

ProjectBinaryInternal -> BinarySpecInternal

ProjectJarBinary -> JarBinarySpec

ProjectJvmLibraryBinary -> JvmLibraryBinarySpec

ProjectNativeBinaryTest -> NativeBinarySpecTest

+ several default implementations according to their related interfaces

    • -3
    • +3
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 60 more files in changeset.
fix language-jvm integration tests after renaming some model classes

    • -3
    • +3
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Moved ProjectNativeComponent.getBinaries() up to ProjectComponent

- Tests for configuring binaries of ProjectJvmLibrary

- Also moved getDisplayName() up

    • -0
    • +47
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 7 more files in changeset.
Use correct destination dir for resources tasks

    • -3
    • +3
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 5 more files in changeset.
A bunch of work on the Jvm binary model

- Renamed JarBinary -> ProjectJarBinary

- need a better naming scheme, but this is consistent

- Introduced ProjectJarBinaryInternal and ClassDirectoryBinaryInternal

- ProjectJvmBinary has classesDir and resourcesDir

- ProjectJarBinary has jarFile

    • -1
    • +1
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 23 more files in changeset.
Test that empty jar is built when no sources or resources are supplied

    • -1
    • +1
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Another test fix

    • -1
    • +1
    ./JvmComponentPluginIntegrationTest.groovy
Better output path for generated jvm library jars

    • -1
    • +1
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix test: empty jar is created for jvm binary with no sources

    • -3
    • +4
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Use the ‘jar’ task in the jvm-component plugin

- Moved the org.gradle.api.java.archive package from ‘plugins’ to ‘language-jvm’

- Moved org.gradle.api.tasks.bundling.Jar -> org.gradle.runtime.jvm.tasks

- Left the existing task type as a stub extending the new task type

- Replaced Zip with Jar in the ‘jvm-component’ plugin

    • -6
    • +4
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 24 more files in changeset.
Continue to extract generic infrastructure out of ‘cpp’:

- Moved ‘source’ property from

- ProjectNativeComponent -> ProjectComponent

- ProjectNativeBinary -> ProjectBinary

- Moved SourceSetNotationParser into ‘language-base’

- Create a functional source set for every ProjectComponent instance created.

    • -0
    • +3
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 20 more files in changeset.
Fix integration test

    • -1
    • +1
    ./JvmComponentPluginIntegrationTest.groovy
Use an extension to namespace the jvm component containers

    • -21
    • +31
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 7 more files in changeset.
Added 'jvmLibraries' container and renamed 'libraries' to 'softwareComponents'

    • -0
    • +168
    ./JvmComponentPluginIntegrationTest.groovy
  1. … 9 more files in changeset.