Skip to content

Commit

Permalink
Merge pull request #240 from jitsi/remove-private-jdk-api
Browse files Browse the repository at this point in the history
Remove private jdk api
  • Loading branch information
ibauersachs authored Nov 9, 2021
2 parents d4a1453 + 0811007 commit 15981cf
Show file tree
Hide file tree
Showing 23 changed files with 147 additions and 2,673 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
java: [ 8, 11 ]
java: [ 8, 11, 17 ]

name: Java ${{ matrix.java }}

Expand All @@ -28,17 +28,11 @@ jobs:
uses: actions/checkout@v2

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: ${{ matrix.java }}

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
cache: maven

- name: Build and test with Maven
run: mvn -B -Dgpg.skip -Drelease=true -Pcoverage verify
Expand All @@ -58,21 +52,15 @@ jobs:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: ${{ env.RELEASE_JAVA_VERSION }}
cache: maven
server-id: ossrh
server-username: SONATYPE_USER
server-password: SONATYPE_PW

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set version
run: |
VERSION=`git describe --match "v[0-9\.]*" --long --dirty --always`
Expand Down
22 changes: 12 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jicoco.version>1.1-90-gfa0e11e</jicoco.version>
<kotlin.version>1.5.20</kotlin.version>
<kotest.version>4.6.1</kotest.version>
<junit.version>5.7.0</junit.version>
<dokka.version>1.4.32</dokka.version>
<jicoco.version>1.1-95-gd8fd866</jicoco.version>
<kotlin.version>1.5.31</kotlin.version>
<kotest.version>4.6.3</kotest.version>
<junit.version>5.8.1</junit.version>
</properties>

<dependencies>
Expand All @@ -59,7 +58,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jitsi-utils</artifactId>
<version>1.0-94-ge7c7a43</version>
<version>1.0-107-g566f8f8</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand All @@ -71,7 +70,7 @@
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.7.0</version>
<version>1.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -107,7 +106,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.6.28</version>
<version>4.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -156,7 +155,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<executions>
<!-- Replacing default-compile as it is treated specially by maven -->
<execution>
Expand Down Expand Up @@ -255,6 +254,9 @@
<version>2.22.2</version>
<configuration>
<includes>**/*</includes>
<systemPropertyVariables>
<java.util.logging.config.file>${project.build.testSourceDirectory}/../resources/logging.properties</java.util.logging.config.file>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -478,7 +480,7 @@
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>${dokka.version}</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<phase>package</phase>
Expand Down
Loading

0 comments on commit 15981cf

Please sign in to comment.