summaryrefslogtreecommitdiff
path: root/spec/fixtures/java/gradle/java-11
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-07-20 15:55:59 -0600
committermo khan <mo.khan@gmail.com>2020-07-21 16:46:02 -0600
commitb3faccb3e3007ddfd41ef251ad8a925542fe2500 (patch)
treec2389439b9d41193079daf29a7bb82b6127e1e88 /spec/fixtures/java/gradle/java-11
parente1bb260b43763a36536b7d3fa4d73108ffb604d4 (diff)
Update maven/gradle offline tests
* Let maven figure out the version of the license plugin that it is compatible with * Print the error when the setup fails * Add tests for multiple versions of maven and java * Install packages into a project specific directory to prevent cross test pollution * Specify the list of supported Maven versions * Update CHANGELOG and bump the version
Diffstat (limited to 'spec/fixtures/java/gradle/java-11')
-rw-r--r--spec/fixtures/java/gradle/java-11/build.gradle13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/fixtures/java/gradle/java-11/build.gradle b/spec/fixtures/java/gradle/java-11/build.gradle
new file mode 100644
index 0000000..fa128ea
--- /dev/null
+++ b/spec/fixtures/java/gradle/java-11/build.gradle
@@ -0,0 +1,13 @@
+plugins {
+ id 'java-library'
+}
+
+repositories {
+ jcenter()
+}
+
+dependencies {
+ runtime "org.postgresql:postgresql:42.1.4"
+ implementation 'com.google.guava:guava:28.2-jre'
+ testImplementation 'junit:junit:4.12'
+}