File tree 4 files changed +17
-14
lines changed
4 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
strategy :
11
11
matrix :
12
- java : [1.8, 11, 17]
12
+ java : [11, 17, 21 ]
13
13
steps :
14
14
- name : Checkout sources
15
15
uses : actions/checkout@v2
16
16
17
17
- name : Set up JDK
18
- uses : actions/setup-java@v1
18
+ uses : actions/setup-java@v2
19
19
with :
20
20
java-version : ${{ matrix.java }}
21
+ distribution : ' zulu'
21
22
22
23
- name : Build
23
24
run : mvn -B package javadoc:javadoc
29
30
uses : actions/checkout@v2
30
31
31
32
- name : Set up JDK
32
- uses : actions/setup-java@v1
33
+ uses : actions/setup-java@v2
33
34
with :
34
- java-version : 1.8
35
+ java-version : 11
36
+ distribution : ' zulu'
35
37
36
38
- name : Build with coverage
37
39
run : mvn -B -Pcoverage clean test jacoco:report-aggregate
46
48
uses : actions/checkout@v2
47
49
48
50
- name : Set up JDK
49
- uses : actions/setup-java@v1
51
+ uses : actions/setup-java@v2
50
52
with :
51
- java-version : 1.8
53
+ java-version : 11
54
+ distribution : ' zulu'
52
55
53
56
- name : Android Lint checks
54
57
run : cd commonmark-android-test && ./gradlew :app:lint
Original file line number Diff line number Diff line change 17
17
uses : actions/checkout@v2
18
18
19
19
- name : Set up Maven Central repository
20
- uses : actions/setup-java@v1
20
+ uses : actions/setup-java@v2
21
21
with :
22
- java-version : 1.8
22
+ java-version : 11
23
+ distribution : ' zulu'
23
24
server-id : ossrh
24
25
server-username : MAVEN_USERNAME # env variable to use for username in release
25
26
server-password : MAVEN_PASSWORD # env variable to use for password in release
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ full library with a nice API and the following features:
23
23
* Flexible (manipulate the AST after parsing, customize HTML rendering)
24
24
* Extensible (tables, strikethrough, autolinking and more, see below)
25
25
26
- The library is supported on Java 8 or later. It should work on Java 7
27
- and Android too, but that is on a best-effort basis, please report
28
- problems. For Android the minimum API level is 19, see the
26
+ The library is supported on Java 11 and later. It should work on Android too,
27
+ but that is on a best-effort basis, please report problems. For Android the
28
+ minimum API level is 19, see the
29
29
[ commonmark-android-test] ( commonmark-android-test ) directory.
30
30
31
31
Coordinates for core library (see all on [ Maven Central] ):
Original file line number Diff line number Diff line change 38
38
<plugin >
39
39
<groupId >org.apache.maven.plugins</groupId >
40
40
<artifactId >maven-compiler-plugin</artifactId >
41
- <version >3.10 .1</version >
41
+ <version >3.12 .1</version >
42
42
<configuration >
43
- <source >7</source >
44
- <target >7</target >
43
+ <release >11</release >
45
44
</configuration >
46
45
</plugin >
47
46
<plugin >
You can’t perform that action at this time.
0 commit comments