forked from bsideup/jabel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from pkware/mb/updateJabelForPkware
Update Jabel for PKware usage
- Loading branch information
Showing
13 changed files
with
330 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,36 @@ | ||
name: CI | ||
# This workflow will build a Java project with Gradle | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | ||
|
||
on: [push, pull_request] | ||
name: Build & test | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [ master, release/* ] | ||
|
||
jobs: | ||
build: | ||
linux: | ||
name: Linux | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 16 | ||
- name: Build with Gradle | ||
run: ./gradlew build | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: 16 | ||
distribution: 'temurin' | ||
|
||
- uses: burrunan/gradle-cache-action@a54b6ce2cbbba932e5d142129dddef103e6ad143 #v1.19 | ||
name: Build with Gradle | ||
with: | ||
arguments: build | ||
|
||
- name: Upload Test Results | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Test Results Linux | ||
path: '**/test-results/**/*.xml' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
subprojects { | ||
group = "com.pkware.jabel" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
plugins { | ||
java | ||
} | ||
|
||
tasks.withType<JavaCompile>().configureEach { | ||
if (name == "compileTestJava") { | ||
sourceCompatibility = JavaVersion.VERSION_1_8.toString() | ||
targetCompatibility = sourceCompatibility | ||
} else { | ||
sourceCompatibility = JavaVersion.VERSION_16.toString() | ||
} | ||
|
||
options.release.set(8) // JavaVersion.VERSION_1_8 | ||
|
||
javaCompiler.set( | ||
javaToolchains.compilerFor { | ||
languageVersion.set(JavaLanguageVersion.of(21)) | ||
} | ||
) | ||
} | ||
|
||
tasks.withType<Test> { | ||
javaLauncher.set( | ||
javaToolchains.launcherFor { | ||
languageVersion.set(JavaLanguageVersion.of(8)) | ||
} | ||
) | ||
} | ||
|
||
dependencies { | ||
annotationProcessor(project(":jabel-javac-plugin")) | ||
compileOnly(project(":jabel-javac-plugin")) | ||
testImplementation("junit:junit:4.13.2") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Project-wide Gradle settings. | ||
|
||
# For more details on how to configure your build environment visit | ||
# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
|
||
# Specifies the JVM arguments used for the daemon process. | ||
# The setting is particularly useful for tweaking memory settings. | ||
# Default value: -Xmx10248m -XX:MaxPermSize=256m | ||
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError | ||
|
||
org.gradle.parallel=true | ||
org.gradle.daemon=true | ||
org.gradle.caching=true | ||
org.gradle.jvmargs=-Dfile.encoding=UTF-8 | ||
kotlin.code.style=official | ||
|
||
jabelVersion=1.0.1-1-SNAPSHOT | ||
|
||
POM_NAME=Jabel | ||
POM_DESCRIPTION=Mirror of Jabel: https://github.com/bsideup/jabel |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.