JavaLanguagePluginIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extract java and groovy compilation into separate language subprojects

- ‘language-java’ contains JavaCompile task, compiler infrastructure and associated classes

- ‘language-groovy’ contains GroovyCompile task and associated infrastructure

- depends on ‘language-java’

- ‘language-jvm’ contains ProcessResources task and some common JVM language infrastructure

    • -173
    • +0
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 321 more files in changeset.
fix failing languageJvm:integTest on ci

+review REVIEW-5076

    • -1
    • +5
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 1 more file in changeset.
more renamings

ProjectBinary -> BinarySpec

ProjectBinaryInternal -> BinarySpecInternal

ProjectJarBinary -> JarBinarySpec

ProjectJvmLibraryBinary -> JvmLibraryBinarySpec

ProjectNativeBinaryTest -> NativeBinarySpecTest

+ several default implementations according to their related interfaces

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

    • -3
    • +3
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Use correct destination dir for resources tasks

    • -3
    • +3
    ./JavaLanguagePluginIntegrationTest.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

    • -3
    • +3
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 23 more files in changeset.
Added test for incremental build using new java-lang plugin

    • -217
    • +1
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Test for failing compilation with ‘java-lang’ plugin

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

    • -0
    • +23
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Moved source directory conventions out of ‘cpp’ project into ‘languageBase’

- Still using a ProjectConfigurationAction instead of ModelRule

- Added more integration tests for building components from Java sources

- Test configuration of source locations

- Build mixed native/jvm project with real sources

    • -14
    • +77
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 7 more files in changeset.
A few more test cases and open issues for the spec

    • -2
    • +2
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Compile java sources included in JvmLibraryBinary

    • -7
    • +56
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Better output path for generated jvm library jars

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

    • -0
    • +1
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Include resources from all ResourceSets in JvmLibraryBinary jar

- ProjectJvmBinary is a binary built by Gradle for the jvm runtime

- Added JvmBinaryTasks to provide access to all tasks associated with a ProjectJvmBinary

- Added classesDir and jarFile properties that are configured on construction

- Attach a ProcessResources task for each ResourceSet

    • -0
    • +49
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 13 more files in changeset.
Wire sources from JvmLibrary into JvmLibraryBinary

    • -0
    • +12
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Integration test for additional jvm source sets for library

    • -5
    • +83
    ./JavaLanguagePluginIntegrationTest.groovy
Good behaviour test for ‘java-lang’ plugin

    • -2
    • +0
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Create a java & resources source set for each project source set

    • -0
    • +56
    ./JavaLanguagePluginIntegrationTest.groovy
  1. … 9 more files in changeset.