Trying out something with github actions

This commit is contained in:
Speiger 2022-04-07 20:14:23 +02:00
parent f27b884b6a
commit 5e3cd9f484
3 changed files with 6 additions and 3 deletions

View File

@ -29,12 +29,13 @@ jobs:
with:
java-version: ${{ matrix.jdk }}
distribution: 'adopt'
cache: gradle
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Generate SourceCode with Gradle
run: ./gradlew generateGithubSource
- name: Setting Java Version
run: echo pcJavaVersion=${{matrix.jdk}} > ./gradle.properties
- name: Build with Gradle
run: ./gradlew build

View File

@ -20,7 +20,7 @@ repositories {
archivesBaseName = 'Primitive Collections'
version = '0.5.4';
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(pcJavaVersion)
javadoc {
options.tags = [ "implSpec", "note" ]

View File

@ -1 +1,3 @@
org.gradle.jvmargs=-Xmx3G
pcJavaVersion=8