-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional test coverage for Ivy; introduce variant derivation rule
- Loading branch information
Showing
11 changed files
with
930 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
309 changes: 295 additions & 14 deletions
309
...oovy/com/linkedin/pegasus/gradle/publishing/PegasusPluginIvyPublishIntegrationTest.groovy
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
...ntegTest/resources/ivy/legacyWithVariantDerivation/expectedChildIvyDescriptorContents.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<configurations> | ||
<conf name="annotationProcessor" visibility="private"/> | ||
<conf name="apiElements" visibility="private" extends="runtime"/> | ||
<conf name="archives" visibility="public"/> | ||
<conf name="avroSchema" visibility="public"/> | ||
<conf name="avroSchemaGenerator" visibility="private"/> | ||
<conf name="compile" visibility="private" extends="dataModel,dataTemplateCompile"/> | ||
<conf name="compileClasspath" visibility="private" extends="compileOnly,implementation"/> | ||
<conf name="compileOnly" visibility="private"/> | ||
<conf name="dataModel" visibility="public"/> | ||
<conf name="dataTemplate" visibility="public" extends="dataModel,dataTemplateCompile"/> | ||
<conf name="dataTemplateCompile" visibility="private"/> | ||
<conf name="dataTemplateGenerator" visibility="private"/> | ||
<conf name="default" visibility="public" extends="runtimeElements"/> | ||
<conf name="generatedJavadoc" visibility="public"/> | ||
<conf name="generatedSources" visibility="public"/> | ||
<conf name="implementation" visibility="private" extends="compile"/> | ||
<conf name="mainGeneratedDataTemplateAnnotationProcessor" visibility="private"/> | ||
<conf name="mainGeneratedDataTemplateCompile" visibility="private"/> | ||
<conf name="mainGeneratedDataTemplateCompileClasspath" visibility="private" extends="mainGeneratedDataTemplateCompileOnly,mainGeneratedDataTemplateImplementation"/> | ||
<conf name="mainGeneratedDataTemplateCompileOnly" visibility="private"/> | ||
<conf name="mainGeneratedDataTemplateImplementation" visibility="private" extends="mainGeneratedDataTemplateCompile"/> | ||
<conf name="mainGeneratedDataTemplateRuntime" visibility="private" extends="mainGeneratedDataTemplateCompile"/> | ||
<conf name="mainGeneratedDataTemplateRuntimeClasspath" visibility="private" extends="mainGeneratedDataTemplateImplementation,mainGeneratedDataTemplateRuntime,mainGeneratedDataTemplateRuntimeOnly"/> | ||
<conf name="mainGeneratedDataTemplateRuntimeOnly" visibility="private"/> | ||
<conf name="pegasusPlugin" visibility="public"/> | ||
<conf name="restClient" visibility="public" extends="dataTemplate,restClientCompile"/> | ||
<conf name="restClientCompile" visibility="private"/> | ||
<conf name="restModel" visibility="public"/> | ||
<conf name="restTools" visibility="private"/> | ||
<conf name="runtime" visibility="private" extends="compile"/> | ||
<conf name="runtimeClasspath" visibility="private" extends="implementation,runtime,runtimeOnly"/> | ||
<conf name="runtimeElements" visibility="private" extends="implementation,runtime,runtimeOnly"/> | ||
<conf name="runtimeOnly" visibility="private"/> | ||
<conf name="schemaAnnotationHandler" visibility="public"/> | ||
<conf name="testAnnotationProcessor" visibility="private"/> | ||
<conf name="testAvroSchema" visibility="public" extends="avroSchema"/> | ||
<conf name="testCompile" visibility="private" extends="compile,dataTemplateCompile,testDataModel"/> | ||
<conf name="testCompileClasspath" visibility="private" extends="testCompileOnly,testImplementation"/> | ||
<conf name="testCompileOnly" visibility="private"/> | ||
<conf name="testDataModel" visibility="public" extends="dataModel"/> | ||
<conf name="testDataTemplate" visibility="public" extends="dataTemplate,testDataModel"/> | ||
<conf name="testGeneratedDataTemplateAnnotationProcessor" visibility="private"/> | ||
<conf name="testGeneratedDataTemplateCompile" visibility="private"/> | ||
<conf name="testGeneratedDataTemplateCompileClasspath" visibility="private" extends="testGeneratedDataTemplateCompileOnly,testGeneratedDataTemplateImplementation"/> | ||
<conf name="testGeneratedDataTemplateCompileOnly" visibility="private"/> | ||
<conf name="testGeneratedDataTemplateImplementation" visibility="private" extends="testGeneratedDataTemplateCompile"/> | ||
<conf name="testGeneratedDataTemplateRuntime" visibility="private" extends="testGeneratedDataTemplateCompile"/> | ||
<conf name="testGeneratedDataTemplateRuntimeClasspath" visibility="private" extends="testGeneratedDataTemplateImplementation,testGeneratedDataTemplateRuntime,testGeneratedDataTemplateRuntimeOnly"/> | ||
<conf name="testGeneratedDataTemplateRuntimeOnly" visibility="private"/> | ||
<conf name="testGeneratedJavadoc" visibility="public" extends="generatedJavadoc"/> | ||
<conf name="testGeneratedSources" visibility="public" extends="generatedSources"/> | ||
<conf name="testImplementation" visibility="private" extends="implementation,testCompile"/> | ||
<conf name="testRestClient" visibility="public" extends="restClient,testDataTemplate"/> | ||
<conf name="testRestModel" visibility="public" extends="restModel"/> | ||
<conf name="testRuntime" visibility="private" extends="runtime,testCompile"/> | ||
<conf name="testRuntimeClasspath" visibility="private" extends="testImplementation,testRuntime,testRuntimeOnly"/> | ||
<conf name="testRuntimeOnly" visibility="private" extends="runtimeOnly"/> | ||
</configurations> | ||
<publications> | ||
<artifact name="child" type="jar" ext="jar" conf="apiElements,archives,runtime,runtimeElements"/> | ||
<artifact name="child-avro-schema" type="jar" ext="jar" conf="avroSchema"/> | ||
<artifact name="child-data-template" type="jar" ext="jar" conf="dataTemplate"/> | ||
<artifact name="child" type="jar" ext="jar" conf="generatedJavadoc" m:classifier="javadoc"/> | ||
<artifact name="child" type="jar" ext="jar" conf="generatedSources" m:classifier="sources"/> | ||
<artifact name="child-test-avro-schema" type="jar" ext="jar" conf="testAvroSchema"/> | ||
<artifact name="child-test-data-template" type="jar" ext="jar" conf="testDataTemplate"/> | ||
</publications> | ||
<dependencies> | ||
<dependency org="com.linkedin.pegasus-parent-demo" name="parent" rev="1.0.0" conf="dataModel->default"/> | ||
<dependency org="com.google.code.findbugs" name="jsr305" rev="3.0.2" conf="dataTemplateCompile->default"/> | ||
<dependency org="org.slf4j" name="slf4j-simple" rev="1.7.2" conf="pegasusPlugin->default"/> | ||
</dependencies> |
Oops, something went wrong.