Skip to content

Commit 1fce03c

Browse files
authored
Introduced version 1.51
1 parent 5c0d2f8 commit 1fce03c

File tree

6 files changed

+170
-10
lines changed

6 files changed

+170
-10
lines changed

.github/workflows/maven.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
java: [17, 19, 20]
12+
java: [17, 19, 20, 21]
1313

1414
steps:
1515
- uses: actions/checkout@v3
1616
- name: Set up JDK ${{ matrix.java }}
1717
uses: actions/setup-java@v3
1818
with:
19-
distribution: 'temurin'
19+
distribution: 'corretto'
2020
java-version: ${{ matrix.java }}
2121
cache: 'maven'
2222
- name: Build with Maven
@@ -32,14 +32,32 @@ jobs:
3232
runs-on: windows-latest
3333
strategy:
3434
matrix:
35-
java: [17, 19, 20]
35+
java: [17, 19, 20, 21]
3636

3737
steps:
3838
- uses: actions/checkout@v3
3939
- name: Set up JDK ${{ matrix.java }}
4040
uses: actions/setup-java@v3
4141
with:
42-
distribution: 'temurin'
42+
distribution: 'corretto'
43+
java-version: ${{ matrix.java }}
44+
cache: 'maven'
45+
- name: Build with Maven
46+
run: mvn package --file pom.xml -B
47+
48+
build-macos:
49+
50+
runs-on: macOS-latest
51+
strategy:
52+
matrix:
53+
java: [17, 19, 20, 21]
54+
55+
steps:
56+
- uses: actions/checkout@v3
57+
- name: Set up JDK ${{ matrix.java }}
58+
uses: actions/setup-java@v3
59+
with:
60+
distribution: 'corretto'
4361
java-version: ${{ matrix.java }}
4462
cache: 'maven'
4563
- name: Build with Maven
@@ -55,7 +73,7 @@ jobs:
5573
- name: Set up JDK 17
5674
uses: actions/setup-java@v3
5775
with:
58-
distribution: 'temurin'
76+
distribution: 'corretto'
5977
java-version: 17
6078
cache: 'maven'
6179
- name: Cache SonarCloud packages

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Include the following in your `pom.xml` for Maven:
2828
<dependency>
2929
<groupId>com.github.javadev</groupId>
3030
<artifactId>underscore17</artifactId>
31-
<version>1.50</version>
31+
<version>1.51</version>
3232
</dependency>
3333
...
3434
</dependencies>
@@ -37,7 +37,7 @@ Include the following in your `pom.xml` for Maven:
3737
Gradle:
3838

3939
```groovy
40-
implementation 'com.github.javadev:underscore17:1.50'
40+
implementation 'com.github.javadev:underscore17:1.51'
4141
```
4242

4343
### Usage

pom-central17.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.github.javadev</groupId>
55
<artifactId>underscore17</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.50</version>
7+
<version>1.51</version>
88
<name>java 17 port of Underscore.js</name>
99
<description>The java 17 port of Underscore.js</description>
1010
<url>https://github.com/javadev/underscore-java17</url>

pom-central21.xml

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.github.javadev</groupId>
5+
<artifactId>underscore17</artifactId>
6+
<packaging>jar</packaging>
7+
<version>1.51</version>
8+
<name>java 21 port of Underscore.js</name>
9+
<description>The java 21 port of Underscore.js</description>
10+
<url>https://github.com/javadev/underscore-java17</url>
11+
<developers>
12+
<developer>
13+
<id>javadev</id>
14+
<name>Valentyn Kolesnikov</name>
15+
</developer>
16+
</developers>
17+
<licenses>
18+
<license>
19+
<name>The MIT License</name>
20+
<url>http://opensource.org/licenses/MIT</url>
21+
<distribution>repo</distribution>
22+
</license>
23+
</licenses>
24+
<scm>
25+
<connection>scm:git:git://github.com/javadev/underscore-java17.git</connection>
26+
<developerConnection>scm:git:git://github.com/javadev/underscore-java17.git</developerConnection>
27+
<url>https://github.com/javadev/underscore-java17</url>
28+
</scm>
29+
<properties>
30+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31+
</properties>
32+
<ciManagement>
33+
<system>GitHub Actions</system>
34+
<url>https://github.com/javadev/underscore-java17/actions</url>
35+
</ciManagement>
36+
<issueManagement>
37+
<system>GitHub Issues</system>
38+
<url>https://github.com/javadev/underscore-java17/issues</url>
39+
</issueManagement>
40+
<build>
41+
<plugins>
42+
<plugin>
43+
<groupId>org.apache.maven.plugins</groupId>
44+
<artifactId>maven-compiler-plugin</artifactId>
45+
<version>3.11.0</version>
46+
<configuration>
47+
<source>21</source>
48+
<target>21</target>
49+
<encoding>UTF-8</encoding>
50+
</configuration>
51+
</plugin>
52+
<plugin>
53+
<groupId>org.apache.maven.plugins</groupId>
54+
<artifactId>maven-surefire-plugin</artifactId>
55+
<version>3.0.0</version>
56+
<dependencies>
57+
<dependency>
58+
<groupId>org.junit.jupiter</groupId>
59+
<artifactId>junit-jupiter-engine</artifactId>
60+
<version>[5.10.0,)</version>
61+
</dependency>
62+
</dependencies>
63+
</plugin>
64+
<plugin>
65+
<groupId>org.apache.maven.plugins</groupId>
66+
<artifactId>maven-jar-plugin</artifactId>
67+
<version>3.3.0</version>
68+
<configuration>
69+
<archive>
70+
<manifestEntries>
71+
<Main-Class>com.github.underscore.Underscore</Main-Class>
72+
<Built-By></Built-By>
73+
<Created-By></Created-By>
74+
<Build-Jdk></Build-Jdk>
75+
</manifestEntries>
76+
</archive>
77+
</configuration>
78+
</plugin>
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-source-plugin</artifactId>
82+
<version>3.2.0</version>
83+
<executions>
84+
<execution>
85+
<id>attach-sources</id>
86+
<goals>
87+
<goal>jar</goal>
88+
<goal>test-jar</goal>
89+
</goals>
90+
</execution>
91+
</executions>
92+
</plugin>
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-javadoc-plugin</artifactId>
96+
<version>3.4.1</version>
97+
<executions>
98+
<execution>
99+
<id>attach-sources</id>
100+
<goals>
101+
<goal>jar</goal>
102+
<goal>test-jar</goal>
103+
</goals>
104+
</execution>
105+
</executions>
106+
<configuration>
107+
<failOnError>false</failOnError>
108+
<useStandardDocletOptions>true</useStandardDocletOptions>
109+
<show>private</show>
110+
</configuration>
111+
</plugin>
112+
<plugin>
113+
<groupId>org.apache.maven.plugins</groupId>
114+
<artifactId>maven-gpg-plugin</artifactId>
115+
<version>1.6</version>
116+
<executions>
117+
<execution>
118+
<id>sign-artifacts</id>
119+
<phase>verify</phase>
120+
<goals>
121+
<goal>sign</goal>
122+
</goals>
123+
</execution>
124+
</executions>
125+
</plugin>
126+
</plugins>
127+
</build>
128+
<dependencies>
129+
<dependency>
130+
<groupId>org.junit.jupiter</groupId>
131+
<artifactId>junit-jupiter-api</artifactId>
132+
<version>[5.10.0,)</version>
133+
<scope>test</scope>
134+
</dependency>
135+
<dependency>
136+
<groupId>org.awaitility</groupId>
137+
<artifactId>awaitility</artifactId>
138+
<version>[4.2.0,)</version>
139+
<scope>test</scope>
140+
</dependency>
141+
</dependencies>
142+
</project>

pom-pack17.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.github.javadev</groupId>
55
<artifactId>underscore17</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.50</version>
7+
<version>1.51</version>
88
<name>java 17 port of Underscore.js</name>
99
<description>The java 17 port of Underscore.js</description>
1010
<url>https://github.com/javadev/underscore-java17</url>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.github.javadev</groupId>
55
<artifactId>underscore11</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.50-SNAPSHOT</version>
7+
<version>1.51-SNAPSHOT</version>
88
<name>java 17 port of Underscore.js</name>
99
<description>The java 17 port of Underscore.js</description>
1010
<url>https://github.com/javadev/underscore-java17</url>

0 commit comments

Comments
 (0)