Trying out something with github actions
This commit is contained in:
parent
f27b884b6a
commit
5e3cd9f484
|
@ -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
|
||||
|
|
|
@ -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" ]
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
org.gradle.jvmargs=-Xmx3G
|
||||
|
||||
pcJavaVersion=8
|
Loading…
Reference in New Issue