forked from google/protobuf-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use automatic plugin classpath injection for tests. (google#374)
This change migrates to use GradleRunner's automatic classpath injection for code under test. - Removed unnecessary gradle/groovy dependencies from plugin's build.gradle, as the Java Gradle Plugin development plugin already does so. - Removed createClasspathManifest and the corresponding bridging code in test project setup. - As mentioned in its documentation, automatic classpath inject only works if the plugin under test is applied using the plugins DSL. - Previously we inject Kotlin dependency by putting it on testProjectRuntime and adding to the test project's classpath via classpath manifest. Now we set this in TestProjectBuilder. - Refactored methods for building Android test project.
- Loading branch information
Showing
19 changed files
with
121 additions
and
143 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
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
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
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
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
Oops, something went wrong.