From f837b269033d4d82f7d9db4245bf6a1bad9b4b46 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Fri, 3 Nov 2023 21:31:09 -0700 Subject: [PATCH] Initial commit --- .gitignore | 55 +++ .idea/.gitignore | 3 + .idea/app.iml | 28 ++ .idea/bld.iml | 14 + .idea/copyright/Apache_License.xml | 6 + .idea/copyright/profiles_settings.xml | 3 + .idea/inspectionProfiles/Project_Default.xml | 8 + .idea/libraries/bld.xml | 17 + .idea/libraries/compile.xml | 13 + .idea/libraries/runtime.xml | 14 + .idea/libraries/test.xml | 14 + .idea/misc.xml | 19 + .idea/modules.xml | 9 + .idea/runConfigurations/Run Tests.xml | 9 + .vscode/launch.json | 11 + .vscode/settings.json | 15 + LICENSE.txt | 177 +++++++ bld | 2 + bld.bat | 4 + examples/.gitignore | 55 +++ examples/.idea/.gitignore | 3 + examples/.idea/app.iml | 29 ++ examples/.idea/bld.iml | 15 + .../inspectionProfiles/Project_Default.xml | 8 + examples/.idea/kotlinc.xml | 6 + .../.idea/libraries/KotlinJavaRuntime.xml | 23 + examples/.idea/libraries/bld.xml | 17 + examples/.idea/libraries/compile.xml | 13 + examples/.idea/libraries/runtime.xml | 14 + examples/.idea/libraries/test.xml | 14 + examples/.idea/misc.xml | 19 + examples/.idea/modules.xml | 9 + .../.idea/runConfigurations/Run Tests.xml | 9 + examples/.vscode/launch.json | 11 + examples/.vscode/settings.json | 15 + examples/bld | 2 + examples/bld.bat | 4 + examples/lib/bld/bld-wrapper.jar | Bin 0 -> 27321 bytes examples/lib/bld/bld-wrapper.properties | 7 + .../bld/java/com/example/ExampleBuild.java | 54 ++ .../src/main/kotlin/com/example/Example.kt | 13 + .../test/kotlin/com/example/ExampleTest.kt | 18 + lib/bld/bld-wrapper.jar | Bin 0 -> 27321 bytes lib/bld/bld-wrapper.properties | 7 + .../CompileKotlinOperationBuild.java | 81 +++ .../bld/extension/CompileKotlinOperation.java | 467 ++++++++++++++++++ .../extension/CompileKotlinOperationTest.java | 31 ++ 47 files changed, 1365 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/app.iml create mode 100644 .idea/bld.iml create mode 100644 .idea/copyright/Apache_License.xml create mode 100644 .idea/copyright/profiles_settings.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/libraries/bld.xml create mode 100644 .idea/libraries/compile.xml create mode 100644 .idea/libraries/runtime.xml create mode 100644 .idea/libraries/test.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/runConfigurations/Run Tests.xml create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json create mode 100644 LICENSE.txt create mode 100755 bld create mode 100644 bld.bat create mode 100644 examples/.gitignore create mode 100644 examples/.idea/.gitignore create mode 100644 examples/.idea/app.iml create mode 100644 examples/.idea/bld.iml create mode 100644 examples/.idea/inspectionProfiles/Project_Default.xml create mode 100644 examples/.idea/kotlinc.xml create mode 100644 examples/.idea/libraries/KotlinJavaRuntime.xml create mode 100644 examples/.idea/libraries/bld.xml create mode 100644 examples/.idea/libraries/compile.xml create mode 100644 examples/.idea/libraries/runtime.xml create mode 100644 examples/.idea/libraries/test.xml create mode 100644 examples/.idea/misc.xml create mode 100644 examples/.idea/modules.xml create mode 100644 examples/.idea/runConfigurations/Run Tests.xml create mode 100644 examples/.vscode/launch.json create mode 100644 examples/.vscode/settings.json create mode 100755 examples/bld create mode 100644 examples/bld.bat create mode 100644 examples/lib/bld/bld-wrapper.jar create mode 100644 examples/lib/bld/bld-wrapper.properties create mode 100644 examples/src/bld/java/com/example/ExampleBuild.java create mode 100644 examples/src/main/kotlin/com/example/Example.kt create mode 100644 examples/src/test/kotlin/com/example/ExampleTest.kt create mode 100644 lib/bld/bld-wrapper.jar create mode 100644 lib/bld/bld-wrapper.properties create mode 100644 src/bld/java/rife/bld/extension/CompileKotlinOperationBuild.java create mode 100644 src/main/java/rife/bld/extension/CompileKotlinOperation.java create mode 100644 src/test/java/rife/bld/extension/CompileKotlinOperationTest.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2805aa --- /dev/null +++ b/.gitignore @@ -0,0 +1,55 @@ +.gradle +.DS_Store +build +lib/bld/** +!lib/bld/bld-wrapper.jar +!lib/bld/bld-wrapper.properties +lib/compile/ +lib/runtime/ +lib/standalone/ +lib/test/ + +# IDEA ignores + +# User-specific +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Editor-based Rest Client +.idea/httpRequests \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/app.iml b/.idea/app.iml new file mode 100644 index 0000000..6c0f6d7 --- /dev/null +++ b/.idea/app.iml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/bld.iml b/.idea/bld.iml new file mode 100644 index 0000000..e63e11e --- /dev/null +++ b/.idea/bld.iml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/copyright/Apache_License.xml b/.idea/copyright/Apache_License.xml new file mode 100644 index 0000000..15687f4 --- /dev/null +++ b/.idea/copyright/Apache_License.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000..f2907f1 --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..1e01b48 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/.idea/libraries/bld.xml b/.idea/libraries/bld.xml new file mode 100644 index 0000000..cf75013 --- /dev/null +++ b/.idea/libraries/bld.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/compile.xml b/.idea/libraries/compile.xml new file mode 100644 index 0000000..9bd86aa --- /dev/null +++ b/.idea/libraries/compile.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/runtime.xml b/.idea/libraries/runtime.xml new file mode 100644 index 0000000..2ae5c4b --- /dev/null +++ b/.idea/libraries/runtime.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/test.xml b/.idea/libraries/test.xml new file mode 100644 index 0000000..b80486a --- /dev/null +++ b/.idea/libraries/test.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..0df0721 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,19 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..55adcb9 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Run Tests.xml b/.idea/runConfigurations/Run Tests.xml new file mode 100644 index 0000000..057a90e --- /dev/null +++ b/.idea/runConfigurations/Run Tests.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..039410b --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "Run Tests", + "request": "launch", + "mainClass": "rife.bld.extension.CompileKotlinOperationTest" + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..133aa45 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "java.project.sourcePaths": [ + "src/main/java", + "src/main/resources", + "src/test/java", + "src/bld/java" + ], + "java.configuration.updateBuildConfiguration": "automatic", + "java.project.referencedLibraries": [ + "${HOME}/.bld/dist/bld-1.7.5.jar", + "lib/compile/*.jar", + "lib/runtime/*.jar", + "lib/test/*.jar" + ] +} diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..49cc83d --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,177 @@ + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/bld b/bld new file mode 100755 index 0000000..2c2bc13 --- /dev/null +++ b/bld @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +java -jar "$(dirname "$0")/lib/bld/bld-wrapper.jar" "$0" --build rife.bld.extension.CompileKotlinOperationBuild "$@" \ No newline at end of file diff --git a/bld.bat b/bld.bat new file mode 100644 index 0000000..1ad46e8 --- /dev/null +++ b/bld.bat @@ -0,0 +1,4 @@ +@echo off +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +java -jar "%DIRNAME%/lib/bld/bld-wrapper.jar" "%0" --build rife.bld.extension.CompileKotlinOperationBuild %* \ No newline at end of file diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 0000000..a2805aa --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1,55 @@ +.gradle +.DS_Store +build +lib/bld/** +!lib/bld/bld-wrapper.jar +!lib/bld/bld-wrapper.properties +lib/compile/ +lib/runtime/ +lib/standalone/ +lib/test/ + +# IDEA ignores + +# User-specific +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Editor-based Rest Client +.idea/httpRequests \ No newline at end of file diff --git a/examples/.idea/.gitignore b/examples/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/examples/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/examples/.idea/app.iml b/examples/.idea/app.iml new file mode 100644 index 0000000..56afe0c --- /dev/null +++ b/examples/.idea/app.iml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/.idea/bld.iml b/examples/.idea/bld.iml new file mode 100644 index 0000000..2eaac76 --- /dev/null +++ b/examples/.idea/bld.iml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/.idea/inspectionProfiles/Project_Default.xml b/examples/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..1e01b48 --- /dev/null +++ b/examples/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/examples/.idea/kotlinc.xml b/examples/.idea/kotlinc.xml new file mode 100644 index 0000000..0dd4b35 --- /dev/null +++ b/examples/.idea/kotlinc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/examples/.idea/libraries/KotlinJavaRuntime.xml b/examples/.idea/libraries/KotlinJavaRuntime.xml new file mode 100644 index 0000000..215c35d --- /dev/null +++ b/examples/.idea/libraries/KotlinJavaRuntime.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/.idea/libraries/bld.xml b/examples/.idea/libraries/bld.xml new file mode 100644 index 0000000..cf75013 --- /dev/null +++ b/examples/.idea/libraries/bld.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/.idea/libraries/compile.xml b/examples/.idea/libraries/compile.xml new file mode 100644 index 0000000..9bd86aa --- /dev/null +++ b/examples/.idea/libraries/compile.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/.idea/libraries/runtime.xml b/examples/.idea/libraries/runtime.xml new file mode 100644 index 0000000..2ae5c4b --- /dev/null +++ b/examples/.idea/libraries/runtime.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/.idea/libraries/test.xml b/examples/.idea/libraries/test.xml new file mode 100644 index 0000000..b80486a --- /dev/null +++ b/examples/.idea/libraries/test.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/.idea/misc.xml b/examples/.idea/misc.xml new file mode 100644 index 0000000..a89d571 --- /dev/null +++ b/examples/.idea/misc.xml @@ -0,0 +1,19 @@ + + + + + + + + + \ No newline at end of file diff --git a/examples/.idea/modules.xml b/examples/.idea/modules.xml new file mode 100644 index 0000000..55adcb9 --- /dev/null +++ b/examples/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/examples/.idea/runConfigurations/Run Tests.xml b/examples/.idea/runConfigurations/Run Tests.xml new file mode 100644 index 0000000..2b503e5 --- /dev/null +++ b/examples/.idea/runConfigurations/Run Tests.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/examples/.vscode/launch.json b/examples/.vscode/launch.json new file mode 100644 index 0000000..30a8889 --- /dev/null +++ b/examples/.vscode/launch.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "Run Tests", + "request": "launch", + "mainClass": "com.example.ExampleTest" + } + ] +} diff --git a/examples/.vscode/settings.json b/examples/.vscode/settings.json new file mode 100644 index 0000000..133aa45 --- /dev/null +++ b/examples/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "java.project.sourcePaths": [ + "src/main/java", + "src/main/resources", + "src/test/java", + "src/bld/java" + ], + "java.configuration.updateBuildConfiguration": "automatic", + "java.project.referencedLibraries": [ + "${HOME}/.bld/dist/bld-1.7.5.jar", + "lib/compile/*.jar", + "lib/runtime/*.jar", + "lib/test/*.jar" + ] +} diff --git a/examples/bld b/examples/bld new file mode 100755 index 0000000..80d2986 --- /dev/null +++ b/examples/bld @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +java -jar "$(dirname "$0")/lib/bld/bld-wrapper.jar" "$0" --build com.example.ExampleBuild "$@" \ No newline at end of file diff --git a/examples/bld.bat b/examples/bld.bat new file mode 100644 index 0000000..084bb72 --- /dev/null +++ b/examples/bld.bat @@ -0,0 +1,4 @@ +@echo off +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +java -jar "%DIRNAME%/lib/bld/bld-wrapper.jar" "%0" --build com.example.ExampleBuild %* \ No newline at end of file diff --git a/examples/lib/bld/bld-wrapper.jar b/examples/lib/bld/bld-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..250f3ead1c51de02b60da5992d307eef486f49f2 GIT binary patch literal 27321 zcmaI7Q*bUmyoOt?+IG8Y+qP}nwr$(CZQE|Y+P2-U;{5mQIWyh{4%nZPFPLhVMO^E`8YC(ERa*>)|iiSdhb_phYp+~1j z2S`C00`f&P443=ArTG8r3je&8(}rm z#AQ%yvL!?^iz@`N;KL7Sg%;$13Gh27YnrSX7B%&kabaH7TP>l%jC?Z1xB<@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(c&xw?c zIPd=ZV}M9GMQe&6b^t#@?_u3}MvAL%?>4a=XBN(w;}A01K1(c87ZvwskrZO*)ZrI$ z&8Dv&t*&LiA=id7_%8fBQj))Z;?6j)U=IC)COMa89A+AWq{Tt*32sos`_b3$lCADM&hfLTg%_LxWNpzDNRaI$)k$?@Pc)Z0R`=c~2yIA3jc-2%xjdSa*o z5fivc$nE(crh0-fP1>8Tm1Pnrd@NpbH^xsVA2xEkzDbe?Rn{a%G4j6cg zuSocC&ByqPjkHt|f=RDuf=QDOp&BIs3M$JaaWuf5C%w4Q$u>{-bd?Xy| z***mRz@4+-8Q=Wa^P_Lw<)3+M)f^)$H7NVA86gJ&%IFrA70Z-vQ5`9!9wUl3b`F*Z z2i!o3(bk`wtP9@(pRv~*TRFd;#9jsc;0k@gIw7`TU+w=KrZ&lrSLQ9aw#m0Kb;EFh zSw57giSwhX9Xaeo!fofj)k#jDy@j{`^h_4y|I{;xe|knlPRvk4Tt!t{QGsoqZHW!~ zzfFMn0*NeO|74;697?j_5TC&Q_96PGLC{}5ME@H9$(88eQU0l)`pZn{?+E&H`afF> z{X5n_)h~Z3uKteFKZEW+Vf|nFtAB_6=P3P4I`emMa{h1F|EG}V-*NtV1OGL6{|+Iu zf5G|x9mD^Afqz!}uQ~8{U|9Ui1^(ky_;WT9dHO2Yox2>%SI Kus>-qu>S&LDTuKE literal 0 HcmV?d00001 diff --git a/examples/lib/bld/bld-wrapper.properties b/examples/lib/bld/bld-wrapper.properties new file mode 100644 index 0000000..8032df2 --- /dev/null +++ b/examples/lib/bld/bld-wrapper.properties @@ -0,0 +1,7 @@ +bld.downloadExtensionJavadoc=false +bld.downloadExtensionSources=true +bld.extensions=com.uwyn.rife2:bld-kotlin:0.9.0-SNAPSHOT +bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_RELEASES +bld.downloadLocation= +bld.sourceDirectories= +bld.version=1.7.5 diff --git a/examples/src/bld/java/com/example/ExampleBuild.java b/examples/src/bld/java/com/example/ExampleBuild.java new file mode 100644 index 0000000..a14bbbe --- /dev/null +++ b/examples/src/bld/java/com/example/ExampleBuild.java @@ -0,0 +1,54 @@ +package com.example; + +import rife.bld.BaseProject; +import rife.bld.BuildCommand; +import rife.bld.extension.CompileKotlinOperation; +import rife.bld.operations.RunOperation; + +import java.io.IOException; +import java.util.List; +import java.util.logging.ConsoleHandler; +import java.util.logging.Level; +import java.util.logging.Logger; + +import static rife.bld.dependencies.Repository.*; +import static rife.bld.dependencies.Scope.compile; + +public class ExampleBuild extends BaseProject { + public ExampleBuild() { + pkg = "com.example"; + name = "Example"; + mainClass = "com.example.Example"; + version = version(0, 1, 0); + + javaRelease = 17; + downloadSources = true; + autoDownloadPurge = true; + repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL, RIFE2_RELEASES); + + scope(compile) + .include(dependency("org.jetbrains.kotlin", "kotlin-stdlib", version(1, 9, 20))); + + testOperation().mainClass("com.example.ExampleTest"); + } + + public static void main(String[] args) { + var level = Level.ALL; + var logger = Logger.getLogger("rife.bld.extension"); + var consoleHandler = new ConsoleHandler(); + consoleHandler.setLevel(level); + logger.addHandler(consoleHandler); + logger.setLevel(level); + logger.setUseParentHandlers(false); + + new ExampleBuild().start(args); + } + + @BuildCommand(summary = "Compile the Kotlin project") + public void compile() throws IOException { + new CompileKotlinOperation() + .fromProject(this) + .compileOptions("-verbose") + .execute(); + } +} \ No newline at end of file diff --git a/examples/src/main/kotlin/com/example/Example.kt b/examples/src/main/kotlin/com/example/Example.kt new file mode 100644 index 0000000..6750d1e --- /dev/null +++ b/examples/src/main/kotlin/com/example/Example.kt @@ -0,0 +1,13 @@ +package com.example + +class Example { + val message: String + get() = "Hello World!" + + companion object { + @JvmStatic + fun main(args: Array) { + println(Example().message) + } + } +} \ No newline at end of file diff --git a/examples/src/test/kotlin/com/example/ExampleTest.kt b/examples/src/test/kotlin/com/example/ExampleTest.kt new file mode 100644 index 0000000..5fc94d4 --- /dev/null +++ b/examples/src/test/kotlin/com/example/ExampleTest.kt @@ -0,0 +1,18 @@ +package com.example + +class ExampleTest { + fun verifyHello() { + if ("Hello World!" != Example().message) { + throw AssertionError() + } else { + println("Succeeded") + } + } + + companion object { + @JvmStatic + fun main(args: Array) { + ExampleTest().verifyHello() + } + } +} \ No newline at end of file diff --git a/lib/bld/bld-wrapper.jar b/lib/bld/bld-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..d5b0e374397ac3b98b59755120255c596d305027 GIT binary patch literal 27321 zcmaI7Q*bUmyoOt?+IG8Y+qP}nwr$(CZQE|Y+P2-U;{5mQIWyh{4%nZPFPLhVMO^E`8YC(ERa*>)|iiSdhb_phYp+~1j z2S`C00`f&P443=ArTG8r3je&8(}rm z#AQ%yvL!?^iz@`N;KL7Sg%;$13Gh27YnrSX7B%&kabaH7TP>l%jC?Z1xB<@9vPzX1 zmHk7ioj?0y>?Szc#7AXYEW)P*{3baw+m?%t8pd8O!W2EU>%CNnTbtN1|18UxJtJkE zD^e^)Sk^HjLk|-xnC~d&d(P|0Y1%7=K2IUs$AS+uD3Ie^rF>Im#{oKJMYj{32YC_& z-E#%;F}>0#{)WhfUUWY)^Rr?Y~BRhtbn@!$?}aLR^W zrmc$>2I|5TVc#@mr0BG*7pPUTOhR4Kus&!JlHz4YQfw@+X5Azx9T8EZgCHv{IvNIl z)U*#Rb@4AQ1|ey%YzU*ZECH1*(9U5)jUEN%M z&MTjmILdnR7D{ZyOKlgiG78H9J}r9Gi;KGLjjd#PoC}%gxu(kGIq~5bR8oWLe#1xX5_%oI1p^BtsIn<^=0lAKO++k+Xo)0ec#J zK$l5xzE{OsQG+bfB`9WX(P5&5yv&gytwl(l-+nbW=gRY71vXdXz4dY#W?)=#8f(qD zj_%e{XIWcqZCxo;&QYO1O9yF(vKu;r*s#VuJl9%LF56Af6VowEF@eG^PK3KHT#&<4 zZ--7FE21r&-5o+$cM#V06|B7r_zJ23rM>|mvtn8YUbs`|^PlCcNfK69EKk$~59Xkpl87wO?v=`jD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+Vf|nFtAB_6=P3P4I`emMa{h1F|EG}V-*NtV1OGL6{|+Iu zf5G|x9mD^Afqz!}uQ~8{U|9Ui1^(ky_;WT9dHO2Yox2>%SI Kus>-qu>S&ehKYj! literal 0 HcmV?d00001 diff --git a/lib/bld/bld-wrapper.properties b/lib/bld/bld-wrapper.properties new file mode 100644 index 0000000..65caa7a --- /dev/null +++ b/lib/bld/bld-wrapper.properties @@ -0,0 +1,7 @@ +bld.downloadExtensionJavadoc=false +bld.downloadExtensionSources=true +bld.extensions= +bld.repositories=MAVEN_CENTRAL,RIFE2_RELEASES +bld.downloadLocation= +bld.sourceDirectories= +bld.version=1.7.5 diff --git a/src/bld/java/rife/bld/extension/CompileKotlinOperationBuild.java b/src/bld/java/rife/bld/extension/CompileKotlinOperationBuild.java new file mode 100644 index 0000000..7288ec8 --- /dev/null +++ b/src/bld/java/rife/bld/extension/CompileKotlinOperationBuild.java @@ -0,0 +1,81 @@ +/* + * Copyright 2023 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package rife.bld.extension; + +import rife.bld.Project; +import rife.bld.operations.RunOperation; +import rife.bld.publish.PublishDeveloper; +import rife.bld.publish.PublishLicense; +import rife.bld.publish.PublishScm; + +import java.io.File; +import java.util.List; + +import static rife.bld.dependencies.Repository.*; +import static rife.bld.dependencies.Scope.compile; +import static rife.bld.dependencies.Scope.test; +import static rife.bld.operations.JavadocOptions.DocLinkOption.NO_MISSING; + +public class CompileKotlinOperationBuild extends Project { + public CompileKotlinOperationBuild() { + pkg = "rife.bld.extension"; + name = "bld-kotlin"; + version = version(0, 9, 0, "SNAPSHOT"); + + javaRelease = 17; + downloadSources = true; + autoDownloadPurge = true; + repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL, RIFE2_RELEASES); + + scope(compile) + .include(dependency("org.jetbrains.kotlin", "kotlin-compiler", version(1, 9, 20))) + .include(dependency("com.uwyn.rife2", "bld", version(1, 7, 6, "SNAPSHOT"))); + scope(test) + .include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 0))) + .include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 0))) + .include(dependency("org.assertj", "assertj-core", version(3, 24, 2))); + + javadocOperation() + .javadocOptions() + .author() + .docLint(NO_MISSING) + .link("https://rife2.github.io/bld/"); + + publishOperation() + .repository(version.isSnapshot() ? repository("rife2-snapshot") : repository("rife2")) + .info() + .groupId("com.uwyn.rife2") + .artifactId("bld-kotlin") + .description("bld Kotlin Extension") + .url("https://github.com/rife2/bld-kotlin") + .developer(new PublishDeveloper().id("ethauvin").name("Erik C. Thauvin").email("erik@thauvin.net") + .url("https://erik.thauvin.net/")) + .license(new PublishLicense().name("The Apache License, Version 2.0") + .url("http://www.apache.org/licenses/LICENSE-2.0.txt")) + .scm(new PublishScm().connection("scm:git:https://github.com/rife2/bld-kotlin.git") + .developerConnection("scm:git:git@github.com:rife2/bld-kotlin.git") + .url("https://github.com/rife2/bld-kotlin")) + .signKey(property("sign.key")) + .signPassphrase(property("sign.passphrase")); + + testOperation().mainClass("rife.bld.extension.CompileKotlinOperationTest"); + } + + public static void main(String[] args) { + new CompileKotlinOperationBuild().start(args); + } +} \ No newline at end of file diff --git a/src/main/java/rife/bld/extension/CompileKotlinOperation.java b/src/main/java/rife/bld/extension/CompileKotlinOperation.java new file mode 100644 index 0000000..480cb29 --- /dev/null +++ b/src/main/java/rife/bld/extension/CompileKotlinOperation.java @@ -0,0 +1,467 @@ +/* + * Copyright 2023 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package rife.bld.extension; + +import org.jetbrains.kotlin.cli.jvm.K2JVMCompiler; +import rife.bld.BaseProject; +import rife.bld.operations.AbstractOperation; +import rife.tools.FileUtils; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.regex.Pattern; + +import static rife.tools.FileUtils.getFileList; + +/** + * Compiles main and test Kotlin sources in the relevant build directories. + * + * @author Erik C. Thauvin + * @since 1.0 + */ +public class CompileKotlinOperation extends AbstractOperation { + public static final Pattern KOTLIN_FILE_PATTERN = Pattern.compile("^.*\\.kt$"); + private static final Logger LOGGER = Logger.getLogger(CompileKotlinOperation.class.getName()); + public final List compileOptions_ = new ArrayList<>(); + private final List compileMainClasspath_ = new ArrayList<>(); + private final List compileTestClasspath_ = new ArrayList<>(); + private final List mainSourceDirectories_ = new ArrayList<>(); + private final List mainSourceFiles_ = new ArrayList<>(); + private final List testSourceDirectories_ = new ArrayList<>(); + private final List testSourceFiles_ = new ArrayList<>(); + private File buildMainDirectory_; + private File buildTestDirectory_; + + public static List getKotlinFileList(File directory) { + if (directory == null) { + return Collections.emptyList(); + } else { + var dir_abs = directory.getAbsoluteFile(); + return getFileList(dir_abs, KOTLIN_FILE_PATTERN, null).stream().map((file) -> + new File(dir_abs, file)).toList(); + } + } + + /** + * Provides the main build destination directory. + * + * @param directory the directory to use for the main build destination + * @return this operation instance + */ + public CompileKotlinOperation buildMainDirectory(File directory) { + buildMainDirectory_ = directory; + return this; + } + + /** + * Retrieves the main build destination directory. + * + * @return the main build destination + */ + public File buildMainDirectory() { + return buildMainDirectory_; + } + + /** + * Provides the test build destination directory. + * + * @param directory the directory to use for the test build destination + * @return this operation instance + */ + public CompileKotlinOperation buildTestDirectory(File directory) { + buildTestDirectory_ = directory; + return this; + } + + /** + * Retrieves the test build destination directory. + * + * @return the test build destination + */ + public File buildTestDirectory() { + return buildTestDirectory_; + } + + /** + * Provides entries for the main compilation classpath. + * + * @param classpath classpath entries + * @return this operation instance + */ + public CompileKotlinOperation compileMainClasspath(String... classpath) { + compileMainClasspath_.addAll(Arrays.asList(classpath)); + return this; + } + + /** + * Provides a list of entries for the main compilation classpath. + *

+ * A copy will be created to allow this list to be independently modifiable. + * + * @param classpath a list of classpath entries + * @return this operation instance + */ + public CompileKotlinOperation compileMainClasspath(List classpath) { + compileMainClasspath_.addAll(classpath); + return this; + } + + /** + * Retrieves the list of entries for the main compilation classpath. + *

+ * This is a modifiable list that can be retrieved and changed. + * + * @return the main compilation classpath list + */ + public List compileMainClasspath() { + return compileMainClasspath_; + } + + /** + * Provides a list of compilation options to pass to the {@code kotlinc} compiler. + * + * @param options the list of compiler options + * @return this operation instance + */ + public CompileKotlinOperation compileOptions(List options) { + compileOptions_.addAll(options); + return this; + } + + /** + * Provides the compilation options to pass to the {@code kotlinc} compiler. + * + * @param option the compiler option + * @return this operation instance + */ + public CompileKotlinOperation compileOptions(String... option) { + compileOptions_.addAll(Arrays.asList(option)); + return this; + } + + /** + * Retrieves the list of compilation options for the {@code kotlinc} compiler. + * + * @return the list of compiler options + */ + public List compileOptions() { + return compileOptions_; + } + + /** + * Provides entries for the test compilation classpath. + * + * @param classpath classpath entries + * @return this operation instance + */ + public CompileKotlinOperation compileTestClasspath(String... classpath) { + compileTestClasspath_.addAll(Arrays.asList(classpath)); + return this; + } + + /** + * Provides a list of entries for the test compilation classpath. + * + * @param classpath a list of classpath entries + * @return this operation instance + */ + public CompileKotlinOperation compileTestClasspath(List classpath) { + compileTestClasspath_.addAll(classpath); + return this; + } + + /** + * Retrieves the list of entries for the test compilation classpath. + * + * @return the test compilation classpath list + */ + public List compileTestClasspath() { + return compileTestClasspath_; + } + + + /** + * Performs the compile operation. + */ + public void execute() + throws IOException { + executeCreateBuildDirectories(); + executeBuildMainSources(); + executeBuildTestSources(); + if (!silent()) { + System.out.println("Kotlin compilation finished successfully."); + } + } + + /** + * Part of the {@link #execute} operation, builds the main sources. + */ + protected void executeBuildMainSources() + throws IOException { + var sources = new ArrayList<>(mainSourceFiles()); + for (var directory : mainSourceDirectories()) { + sources.addAll(getKotlinFileList(directory)); + } + executeBuildSources( + compileMainClasspath(), + sources, + buildMainDirectory()); + } + + /** + * Part of the {@link #execute} operation, build sources to a destination. + * + * @param classpath the classpath list used for the compilation + * @param sources the source files to compile + * @param destination the destination directory + */ + protected void executeBuildSources(List classpath, List sources, File destination) + throws IOException { + if (sources.isEmpty() || destination == null) { + return; + } + + var k2 = new K2JVMCompiler(); + var args = new ArrayList(); + + // classpath + args.add("-cp"); + args.add(FileUtils.joinPaths(classpath)); + + // destination + args.add("-d"); + args.add(destination.getAbsolutePath()); + + args.add("-no-reflect"); + args.add("-no-stdlib"); + + // options + args.addAll(compileOptions()); + + // source + sources.forEach(f -> { + args.add(f.getAbsolutePath()); + }); + + if (LOGGER.isLoggable(Level.FINE) && !silent()) { + LOGGER.fine("kotlinc " + String.join(" ", args)); + } + + var exitCode = k2.exec(System.err, args.toArray(new String[0])); + if (exitCode.getCode() != 0) { + throw new IOException("Kotlin compilation failed."); + } + } + + /** + * Part of the {@link #execute} operation, builds the test sources. + */ + protected void executeBuildTestSources() + throws IOException { + var sources = new ArrayList<>(testSourceFiles()); + for (var directory : testSourceDirectories()) { + sources.addAll(getKotlinFileList(directory)); + } + executeBuildSources( + compileTestClasspath(), + sources, + buildTestDirectory()); + } + + /** + * Part of the {@link #execute} operation, creates the build directories. + */ + protected void executeCreateBuildDirectories() throws IOException { + if (buildMainDirectory() != null && !buildMainDirectory().exists()) { + if (!buildMainDirectory().mkdirs()) { + throw new IOException("Could not created build main directory: " + buildMainDirectory().getAbsolutePath()); + } + } + if (buildTestDirectory() != null && !buildTestDirectory().exists()) { + if (!buildTestDirectory().mkdirs()) { + throw new IOException("Could not created build test directory: " + buildTestDirectory().getAbsolutePath()); + } + } + } + + /** + * Configures a compile operation from a {@link BaseProject}. + * + * @param project the project to configure the compile operation from + */ + public CompileKotlinOperation fromProject(BaseProject project) { + var srcMainKotlinDirectory = new File(project.srcMainDirectory(), "kotlin"); + var srcTestKotlinDirectory = new File(project.srcTestDirectory(), "kotlin"); + + return buildMainDirectory(project.buildMainDirectory()) + .buildTestDirectory(project.buildTestDirectory()) + .compileMainClasspath(project.compileMainClasspath()) + .compileTestClasspath(project.compileTestClasspath()) + .mainSourceFiles(getKotlinFileList(srcMainKotlinDirectory)) + .testSourceFiles(getKotlinFileList(srcTestKotlinDirectory)); + } + + public String getMessage() { + return "Hello World!"; + } + + /** + * Provides main source directories that should be compiled. + * + * @param directories main source directories + * @return this operation instance + */ + public CompileKotlinOperation mainSourceDirectories(File... directories) { + mainSourceDirectories_.addAll(List.of(directories)); + return this; + } + + /** + * Provides a list of main source directories that should be compiled. + *

+ * A copy will be created to allow this list to be independently modifiable. + * + * @param directories a list of main source directories + * @return this operation instance + */ + public CompileKotlinOperation mainSourceDirectories(List directories) { + mainSourceDirectories_.addAll(directories); + return this; + } + + /** + * Retrieves the list of main source directories that should be compiled. + *

+ * This is a modifiable list that can be retrieved and changed. + * + * @return the list of main source directories to compile + */ + public List mainSourceDirectories() { + return mainSourceDirectories_; + } + + /** + * Provides main files that should be compiled. + * + * @param files main files + * @return this operation instance + */ + public CompileKotlinOperation mainSourceFiles(File... files) { + mainSourceFiles_.addAll(Arrays.asList(files)); + return this; + } + + /** + * Provides a list of main files that should be compiled. + *

+ * A copy will be created to allow this list to be independently modifiable. + * + * @param files a list of main files + * @return this operation instance + */ + public CompileKotlinOperation mainSourceFiles(List files) { + mainSourceFiles_.addAll(files); + return this; + } + + /** + * Retrieves the list of main files that should be compiled. + *

+ * This is a modifiable list that can be retrieved and changed. + * + * @return the list of main files to compile + */ + public List mainSourceFiles() { + return mainSourceFiles_; + } + + /** + * Provides test source directories that should be compiled. + * + * @param directories test source directories + * @return this operation instance + */ + public CompileKotlinOperation testSourceDirectories(File... directories) { + testSourceDirectories_.addAll(List.of(directories)); + return this; + } + + /** + * Provides a list of test source directories that should be compiled. + *

+ * A copy will be created to allow this list to be independently modifiable. + * + * @param directories a list of test source directories + * @return this operation instance + */ + public CompileKotlinOperation testSourceDirectories(List directories) { + testSourceDirectories_.addAll(directories); + return this; + } + + /** + * Retrieves the list of test source directories that should be compiled. + *

+ * This is a modifiable list that can be retrieved and changed. + * + * @return the list of test source directories to compile + */ + public List testSourceDirectories() { + return testSourceDirectories_; + } + + /** + * Provides test files that should be compiled. + * + * @param files test files + * @return this operation instance + */ + public CompileKotlinOperation testSourceFiles(File... files) { + testSourceFiles_.addAll(Arrays.asList(files)); + return this; + } + + /** + * Provides a list of test files that should be compiled. + *

+ * A copy will be created to allow this list to be independently modifiable. + * + * @param files a list of test files + * @return this operation instance + */ + public CompileKotlinOperation testSourceFiles(List files) { + testSourceFiles_.addAll(files); + return this; + } + + /** + * Retrieves the list of test files that should be compiled. + *

+ * This is a modifiable list that can be retrieved and changed. + * + * @return the list of test files to compile + */ + public List testSourceFiles() { + return testSourceFiles_; + } +} \ No newline at end of file diff --git a/src/test/java/rife/bld/extension/CompileKotlinOperationTest.java b/src/test/java/rife/bld/extension/CompileKotlinOperationTest.java new file mode 100644 index 0000000..cfa724e --- /dev/null +++ b/src/test/java/rife/bld/extension/CompileKotlinOperationTest.java @@ -0,0 +1,31 @@ +/* + * Copyright 2023 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package rife.bld.extension; + +public class CompileKotlinOperationTest { + void verifyHello() { + if (!"Hello World!".equals(new CompileKotlinOperation().getMessage())) { + throw new AssertionError(); + } else { + System.out.println("Succeeded"); + } + } + + public static void main(String[] args) { + new CompileKotlinOperationTest().verifyHello(); + } +} \ No newline at end of file