-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
214 additions
and
1,371 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,18 +1,73 @@ | ||
name: Build Plugin | ||
name: "CI Build" | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
gradle-build: | ||
check: # primes cache: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: git clone | ||
uses: actions/[email protected] | ||
- name: Set up JDK | ||
uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
- name: gradle build | ||
id: gradle | ||
uses: gradle/[email protected] | ||
java-version-file: .oj/jdk-version.txt | ||
- uses: gradle/[email protected] | ||
- run: "./oj check" | ||
env: | ||
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }} | ||
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }} | ||
|
||
test-functional: | ||
needs: check | ||
strategy: | ||
matrix: | ||
module: [app] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version-file: .oj/jdk-version.txt | ||
- uses: gradle/[email protected] | ||
- run: "./oj :${{ matrix.module }}:checkEndToEnd" | ||
env: | ||
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }} | ||
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }} | ||
|
||
package: | ||
needs: check | ||
strategy: | ||
matrix: | ||
os: [ubuntu, macos, windows] | ||
runs-on: ${{ matrix.os }}-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version-file: .oj/jdk-version.txt | ||
- uses: gradle/[email protected] | ||
- run: "./oj assemble${{ matrix.os }}" | ||
env: | ||
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }} | ||
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }} | ||
|
||
build: | ||
needs: [test-functional, package] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version-file: .oj/jdk-version.txt | ||
- uses: gradle/[email protected] | ||
- run: "./oj build" | ||
env: | ||
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }} | ||
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }} | ||
- uses: actions/[email protected] | ||
with: | ||
arguments: build | ||
name: Application Packages | ||
path: .oj/build/*/packages/* |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
gradle/wrapper/gradle-wrapper.properties → .oj/gradle/gradle-wrapper.properties
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
Empty file.
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 @@ | ||
17.0.6 |
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 @@ | ||
# https://onepiece.software/j/modules | ||
|
||
# jakarta.activation=com.sun.activation:jakarta.activation |
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,5 @@ | ||
# https://onepiece.software/j/patch/boms | ||
|
||
# org.openjfx\:javafx=javafx-base,javafx-graphics,javafx-controls,javafx-fxml,javafx-media,javafx-swing,javafx-web% | ||
org.apache.poi\:poi=org.apache.poi:poi-excelant,org.apache.poi:poi-ooxml,org.apache.poi:poi-scratchpad | ||
org.slf4j\:slf4j-parent=org.slf4j:slf4j-api,org.slf4j:slf4j-simple,org.slf4j:slf4j-nop,org.slf4j:slf4j-jdk14,org.slf4j:slf4j-log4j12,org.slf4j:slf4j-reload4j,org.slf4j:slf4j-jcl,org.slf4j:slf4j-android,org.slf4j:slf4j-ext,org.slf4j:jcl-over-slf4j,org.slf4j:log4j-over-slf4j,org.slf4j:jul-to-slf4j,org.slf4j:osgi-over-slf4j |
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 @@ | ||
# https://onepiece.software/j/patch/conflicts | ||
|
||
# com.sun.activation\:jakarta.activation=jakarta.activation:jakarta.activation-api,com.sun.activation:jakarta.activation |
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 @@ | ||
# https://onepiece.software/j/patch/dependencies-add | ||
|
||
# io.netty\:netty-common=io.projectreactor.tools:blockhound:1.0.8.RELEASE |
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 @@ | ||
# https://onepiece.software/j/patch/dependencies-rm | ||
|
||
com.google.guava\:guava=com.google.guava:failureaccess,com.google.guava:listenablefuture,com.google.code.findbugs:jsr305,org.checkerframework:checker-qual,com.google.errorprone:error_prone_annotations,com.google.j2objc:j2objc-annotations |
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 @@ | ||
# https://onepiece.software/j/patch/features | ||
|
||
# io.netty\:netty-transport-native-epoll=linux-x86_64,linux-aarch_64 |
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,12 @@ | ||
# https://onepiece.software/j/patch/non-modules | ||
|
||
# com.google.common=com.google.guava:guava | ||
org.apache.commons.collections4=org.apache.commons:commons-collections4 | ||
org.apache.commons.codec=commons-codec:commons-codec | ||
commons.math3=org.apache.commons:commons-math3 | ||
SparseBitSet=com.zaxxer:SparseBitSet | ||
com.github.virtuald.curvesapi=com.github.virtuald:curvesapi | ||
com.google.common=com.google.guava:guava | ||
javax.annotations.jsr305=com.google.code.findbugs:jsr305 | ||
velocity.engine.core=org.apache.velocity:velocity-engine-core | ||
org.apache.commons.lang3=org.apache.commons:commons-lang3 |
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 @@ | ||
# https://onepiece.software/j/patch/targets | ||
|
||
# org.openjfx\:javafx-base=[none|none],mac[macos|x86-64],mac-aarch64[macos|aarch64],win[windows|x86-64],linux-aarch64[linux|x86-64] |
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,13 @@ | ||
# https://onepiece.software/j/product | ||
|
||
name=Gradle Project Setup HowTo | ||
version=1.0 | ||
domain=example.org | ||
modules= | ||
targets=macos[macos|x86-64],ubuntu[linux|x86-64],windows[windows|x86-64] | ||
classpath=false | ||
opensource=true | ||
javadoc=true | ||
description=How to structure a growing Gradle project with smart dependency management? | ||
vendor=Jendrik Johannes (onepiece.Software) | ||
copyright=Copyright 2024, Jendrik Johannes |
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,4 @@ | ||
# https://onepiece.software/j/productivity | ||
|
||
build.cache.url=https://gradle.onepiece.software:5071/cache | ||
build.develocity.url=https://scans.gradle.com |
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 @@ | ||
# https://onepiece.software/j/publishing | ||
|
||
# example=https://example.org/publishing-repository |
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 @@ | ||
# https://onepiece.software/j/repositories | ||
|
||
mavenCentral=https://repo1.maven.org/maven2 |
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,7 @@ | ||
# https://onepiece.software/j/tweak/endToEndTest | ||
|
||
test.lifecycle=checkEndToEnd | ||
javac.jvm.options= | ||
javac.options= | ||
test.jvm.options= | ||
test.parallelism=8 |
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,6 @@ | ||
# https://onepiece.software/j/tweak/main | ||
|
||
javac.jvm.options= | ||
javac.options= | ||
run.jvm.options= | ||
run.app.options= |
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,4 @@ | ||
# https://onepiece.software/j/tweak/mockApi | ||
|
||
javac.jvm.options= | ||
javac.options= |
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,7 @@ | ||
# https://onepiece.software/j/tweak/test | ||
|
||
test.lifecycle=check | ||
javac.jvm.options= | ||
javac.options= | ||
test.jvm.options= | ||
test.parallelism=8 |
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,4 @@ | ||
# https://onepiece.software/j/tweak/testFixtures | ||
|
||
javac.jvm.options= | ||
javac.options= |
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,16 @@ | ||
# https://onepiece.software/j/versions | ||
|
||
com.fasterxml.jackson.core=2.16.1 | ||
com.google.common=33.0.0-jre | ||
jakarta.activation=1.2.2 | ||
jakarta.mail=1.6.7 | ||
jakarta.servlet=6.0.0 | ||
java.inject=1.0.5 | ||
javax.annotations.jsr305=3.0.2 | ||
org.apache.commons.compress=1.25.0 | ||
org.apache.commons.io=2.15.1 | ||
org.apache.poi.ooxml=5.2.2 | ||
org.assertj.core=3.25.1 | ||
org.junit.jupiter.api=5.10.1 | ||
org.slf4j=2.0.10 | ||
velocity.engine.core=2.3 |
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,8 +1,10 @@ | ||
plugins { | ||
id("org.example.application") | ||
id("org.example.gradlebuild.java-application-module") | ||
id("org.example.gradlebuild.feature-mock-api") | ||
id("org.example.gradlebuild.test-suite-end-to-end-test") | ||
} | ||
|
||
application { | ||
mainModule.set("org.example.product.app") | ||
mainClass.set("org.example.product.app.Application") | ||
mainModule = "org.example.product.app" | ||
mainClass = "org.example.product.app.Application" | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
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 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,3 +1,3 @@ | ||
plugins { | ||
id("org.example.java-library") | ||
id("org.example.gradlebuild.java-library-module") | ||
} |
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,4 +1,6 @@ | ||
open module org.example.product.bespin.test { | ||
requires org.example.product.corellia.test.fixtures; | ||
requires org.junit.jupiter.api; | ||
|
||
requires /*runtime*/ org.slf4j.simple; | ||
} |
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,3 +1,3 @@ | ||
plugins { | ||
id("org.example.root") | ||
} | ||
id("org.example.gradlebuild.root") | ||
} |
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,3 +1,4 @@ | ||
plugins { | ||
id("org.example.java-library-with-test-fixtures") | ||
id("org.example.gradlebuild.java-library-module") | ||
id("org.example.gradlebuild.feature-test-fixtures") | ||
} |
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,8 +1,6 @@ | ||
module org.example.product.corellia { | ||
exports org.example.product.corellia; | ||
|
||
requires transitive org.apache.poi.poi; | ||
|
||
requires org.apache.commons.io; | ||
requires org.apache.poi.ooxml; | ||
} |
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,3 +1,3 @@ | ||
plugins { | ||
id("org.example.java-library-published") | ||
id("org.example.gradlebuild.java-library-module") | ||
} |
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
19 changes: 0 additions & 19 deletions
19
gradle/meta-plugins/build-parameters-plugins/build.gradle.kts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...ta-plugins/plugin-analysis-plugins/src/main/kotlin/org.example.plugin-analysis.gradle.kts
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
...ysis-plugins/src/main/kotlin/org/example/pluginanalysis/PluginApplicationOrderAnalysis.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.