You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2021/05/17 07:20:41 UTC
[cayenne] 03/05: feat: add maven plugin with 1.8 version to compile
current module;
remove support of gradle versions 3.3 and less in compatibility tests
This is an automated email from the ASF dual-hosted git repository.
ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git
commit 8f9c98c6011321a33d37b565dbe14fdd9334a2df
Author: dmitrij <dm...@gmail.com>
AuthorDate: Wed May 12 11:11:26 2021 +0300
feat: add maven plugin with 1.8 version to compile current module; remove support of gradle versions 3.3 and less in compatibility tests
---
cayenne-gradle-plugin/pom.xml | 8 ++++++++
.../src/test/java/org/apache/cayenne/tools/GradlePluginIT.java | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/cayenne-gradle-plugin/pom.xml b/cayenne-gradle-plugin/pom.xml
index da29788..968f699 100644
--- a/cayenne-gradle-plugin/pom.xml
+++ b/cayenne-gradle-plugin/pom.xml
@@ -137,6 +137,14 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.8</source>
+ <target>1.8</target>
+ </configuration>
+ </plugin>
</plugins>
</build>
diff --git a/cayenne-gradle-plugin/src/test/java/org/apache/cayenne/tools/GradlePluginIT.java b/cayenne-gradle-plugin/src/test/java/org/apache/cayenne/tools/GradlePluginIT.java
index 9f72cbb..6555116 100644
--- a/cayenne-gradle-plugin/src/test/java/org/apache/cayenne/tools/GradlePluginIT.java
+++ b/cayenne-gradle-plugin/src/test/java/org/apache/cayenne/tools/GradlePluginIT.java
@@ -61,7 +61,7 @@ public class GradlePluginIT extends BaseTaskIT {
} else if(javaMajorVersion >= 11) {
versions = new String[]{"4.8"};
} else if (javaMajorVersion < 9) {
- versions = new String[]{"4.3", "4.0", "3.5", "3.3", "3.0", "2.12", "2.8"};
+ versions = new String[]{"4.3", "4.0", "3.5"};
} else {
versions = new String[]{"4.3.1", "4.3"};
}