Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation actions improvements #5735

Merged
merged 151 commits into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
018f06a
Create action.yml
Pikachu920 May 10, 2023
07a68ac
Update docs.yml
Pikachu920 May 10, 2023
0cb13c3
Update docs.yml
Pikachu920 May 10, 2023
ad7e9c7
Update docs.yml
Pikachu920 May 10, 2023
2cc8bab
Update docs.yml
Pikachu920 May 10, 2023
b32de74
Update action.yml
Pikachu920 May 10, 2023
3269d3b
Update docs.yml
Pikachu920 May 10, 2023
cb91508
Update action.yml
Pikachu920 May 24, 2023
b512c19
Update action.yml
Pikachu920 May 24, 2023
1337247
Update action.yml
Pikachu920 May 24, 2023
4d83796
Update action.yml
Pikachu920 May 25, 2023
ee4076d
Create action.yml
Pikachu920 May 25, 2023
cc719ee
Update action.yml
Pikachu920 May 25, 2023
d35b12d
Rename action.yml to action.yml
Pikachu920 May 25, 2023
00e154d
Update action.yml
Pikachu920 May 25, 2023
82f9a77
Update action.yml
Pikachu920 May 25, 2023
921c145
Update action.yml
Pikachu920 May 25, 2023
6def687
Update action.yml
Pikachu920 May 25, 2023
04593fe
Update docs.yml
Pikachu920 May 25, 2023
93d9f46
Update action.yml
Pikachu920 May 25, 2023
f8d8b9a
Update action.yml
Pikachu920 May 25, 2023
3df5390
Update action.yml
Pikachu920 May 25, 2023
fdbe41a
Update action.yml
Pikachu920 May 25, 2023
9ad37de
Create action.yml
Pikachu920 May 25, 2023
2353860
Update docs.yml
Pikachu920 May 25, 2023
515780d
Update docs.yml
Pikachu920 May 25, 2023
374be35
Update action.yml
Pikachu920 May 25, 2023
4476030
Update docs.yml
Pikachu920 May 25, 2023
72a8202
Update docs.yml
Pikachu920 May 25, 2023
9c04cce
Update action.yml
Pikachu920 May 25, 2023
a4d9486
Update docs.yml
Pikachu920 May 25, 2023
2235220
Update docs.yml
Pikachu920 May 25, 2023
562b1f3
Update action.yml
Pikachu920 May 25, 2023
a4bb727
Update docs.yml
Pikachu920 May 25, 2023
f6f822e
Update docs.yml
Pikachu920 May 25, 2023
a84033c
Update action.yml
Pikachu920 May 25, 2023
c755278
Update action.yml
Pikachu920 May 25, 2023
e0a6a4a
Update action.yml
Pikachu920 May 25, 2023
0c84d35
Update and rename docs.yml to nightlydocs.yml
Pikachu920 May 25, 2023
51a826b
Rename nightlydocs.yml to nightly-docs.yml
Pikachu920 May 25, 2023
b68f3d7
Update action.yml
Pikachu920 May 25, 2023
fad9b27
Create release-docs.yml
Pikachu920 May 25, 2023
08eb316
Update release-docs.yml
Pikachu920 May 25, 2023
922bbf6
Create archive-docs.yml
Pikachu920 May 25, 2023
117fe1a
Update release-docs.yml
Pikachu920 May 25, 2023
fb56b60
Update build.gradle
Pikachu920 May 25, 2023
4fa716d
Update build.gradle
Pikachu920 May 25, 2023
546aba7
Update action.yml
Pikachu920 May 25, 2023
6209ed9
Update action.yml
Pikachu920 May 25, 2023
2ad208e
Update archive-docs.yml
Pikachu920 May 25, 2023
5facead
Update release-docs.yml
Pikachu920 May 25, 2023
56ef35f
Update release-docs.yml
Pikachu920 May 25, 2023
6ec36a4
Update archive-docs.yml
Pikachu920 May 25, 2023
31903ea
Update nightly-docs.yml
Pikachu920 May 25, 2023
164d100
Update action.yml
Pikachu920 May 25, 2023
152ff2d
Update release-docs.yml
Pikachu920 May 25, 2023
e5355f6
Delete archive-docs.yml
Pikachu920 May 25, 2023
047063b
Update release-docs.yml
Pikachu920 May 25, 2023
26040a2
Update release-docs.yml
Pikachu920 May 25, 2023
caa4287
Update release-docs.yml
Pikachu920 May 25, 2023
51d612b
Update nightly-docs.yml
Pikachu920 May 25, 2023
5d15b5e
Merge branch 'master' into master
AyhamAl-Ali May 25, 2023
019f36d
Update action.yml
Pikachu920 May 25, 2023
4d71dce
Update release-docs.yml
Pikachu920 May 25, 2023
97ebb21
Update action.yml
Pikachu920 May 25, 2023
b45b887
Update build.gradle
Pikachu920 May 25, 2023
447c500
Update action.yml
Pikachu920 May 25, 2023
45a1ad5
Update action.yml
Pikachu920 May 25, 2023
a8db03b
Update build.gradle
Pikachu920 May 27, 2023
3a54476
Update nightly-docs.yml
Pikachu920 May 27, 2023
7c3881e
Update build.gradle
Pikachu920 May 27, 2023
7182b18
Update PlatformMain.java
Pikachu920 May 27, 2023
e238566
Update PlatformMain.java
Pikachu920 May 27, 2023
798bdda
Update nightly-docs.yml
Pikachu920 May 30, 2023
c04b9d5
Update nightly-docs.yml
Pikachu920 May 30, 2023
d0bbcc6
Update nightly-docs.yml
Pikachu920 May 30, 2023
1a297c9
Update nightly-docs.yml
Pikachu920 May 30, 2023
c86ff51
Update nightly-docs.yml
Pikachu920 May 30, 2023
b823e71
Update nightly-docs.yml
Pikachu920 May 30, 2023
cd6a4b5
Update nightly-docs.yml
Pikachu920 May 30, 2023
0e9fc6a
Update Environment.java
Pikachu920 May 30, 2023
8e95f4d
Update nightly-docs.yml
Pikachu920 May 30, 2023
e1ef2d6
Update release-docs.yml
Pikachu920 May 30, 2023
bd1b4ca
Update nightly-docs.yml
Pikachu920 May 30, 2023
66f4c2e
Update .github/workflows/docs/generate-docs/action.yml
Pikachu920 Jun 3, 2023
5396372
Update action.yml
Pikachu920 Jun 3, 2023
e93131d
Update build.gradle
Pikachu920 Jun 3, 2023
b30f0b2
Update TestResults.java
Pikachu920 Jun 3, 2023
0164355
Merge branch 'master' into master
Pikachu920 Jun 3, 2023
cb8a971
Merge branch 'SkriptLang:master' into master
Pikachu920 Jun 6, 2023
5ace7fb
Update action.yml
Pikachu920 Jun 6, 2023
97f38c9
Update nightly-docs.yml
Pikachu920 Jun 6, 2023
7e18967
Update release-docs.yml
Pikachu920 Jun 6, 2023
74c6b3b
Create delete-docs.yml
Pikachu920 Jun 6, 2023
6e1066e
Update delete-docs.yml
Pikachu920 Jun 6, 2023
518777d
Update delete-docs.yml
Pikachu920 Jun 6, 2023
17cf075
Update delete-docs.yml
Pikachu920 Jun 7, 2023
fe13141
Update and rename delete-docs.yml to cleanup-docs.yml
Pikachu920 Jun 7, 2023
eda5e5e
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
767d494
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
e9e6df4
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
8fc16c9
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
974cfb9
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
5af51db
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
267cc23
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
1ebcee4
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
355dda2
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
b5fac13
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
1099ba3
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
55a5883
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
f9e9db3
Update action.yml
Pikachu920 Aug 1, 2023
edc2833
Update action.yml
Pikachu920 Aug 1, 2023
66cca93
Update action.yml
Pikachu920 Aug 1, 2023
76c1bcb
Update action.yml
Pikachu920 Aug 1, 2023
768cb8e
Update action.yml
Pikachu920 Aug 1, 2023
4f0875e
Update release-docs.yml
Pikachu920 Aug 1, 2023
03659bd
Update action.yml
Pikachu920 Aug 1, 2023
4afec13
Update action.yml
Pikachu920 Aug 1, 2023
290090b
Update action.yml
Pikachu920 Aug 1, 2023
5bed2a1
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
99a9b26
Update action.yml
Pikachu920 Aug 1, 2023
4b1af7e
Update action.yml
Pikachu920 Aug 1, 2023
5a1d393
Update action.yml
Pikachu920 Aug 1, 2023
061a7e5
Update action.yml
Pikachu920 Aug 1, 2023
4e0413b
Update nightly-docs.yml
Pikachu920 Aug 1, 2023
34f482b
Update action.yml
Pikachu920 Aug 1, 2023
40e9563
Update ExprAI.java
Pikachu920 Aug 1, 2023
6d38431
Update action.yml
Pikachu920 Aug 1, 2023
72b6bf6
Update action.yml
Pikachu920 Aug 1, 2023
bae5e88
Update action.yml
Pikachu920 Aug 1, 2023
5ce10e4
Update action.yml
Pikachu920 Aug 1, 2023
76322d0
Update action.yml
Pikachu920 Aug 1, 2023
e2f0cba
Update action.yml
Pikachu920 Aug 2, 2023
ad6c80e
Update ExprAI.java
Pikachu920 Aug 2, 2023
8933229
Update action.yml
Pikachu920 Aug 3, 2023
2b6598e
Update ExprAI.java
Pikachu920 Aug 3, 2023
9e87c7e
Update nightly-docs.yml
Pikachu920 Aug 3, 2023
aba5711
Update ExprAI.java
Pikachu920 Aug 3, 2023
135950a
Update release-docs.yml
Pikachu920 Aug 3, 2023
8565369
Update build.gradle
Pikachu920 Aug 11, 2023
319e063
Update build.gradle
Pikachu920 Aug 11, 2023
c510ef3
Update build.gradle
Pikachu920 Aug 11, 2023
b3b45e6
Update build.gradle
Pikachu920 Aug 23, 2023
8d45502
Update build.gradle
Pikachu920 Aug 23, 2023
8a50dfe
Update build.gradle
Pikachu920 Aug 23, 2023
122f295
Update build.gradle
Pikachu920 Aug 23, 2023
c05749f
Update action.yml
Pikachu920 Aug 23, 2023
ea33d1e
Update action.yml
Pikachu920 Aug 23, 2023
d7db0f2
Add support for docs/templates dir
Pikachu920 Aug 27, 2023
efb1cb4
Keep local changes in rebase conflicts
Pikachu920 Aug 28, 2023
32cefd3
Merge branch 'master' into master
Pikachu920 Aug 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/cleanup-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Cleanup nightly documentation
on: delete
jobs:
cleanup-nightly-docs:
if: github.event.ref_type == 'branch'
runs-on: ubuntu-latest
steps:
- name: Configure workflow
id: configuration
env:
DELETED_BRANCH: ${{ github.event.ref }}
run: |
BRANCH_NAME="${DELETED_BRANCH#refs/*/}"
echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_OUTPUT
echo "DOCS_OUTPUT_DIR=${GITHUB_WORKSPACE}/skript-docs/docs/nightly/${BRANCH_NAME}" >> $GITHUB_OUTPUT
echo "DOCS_REPO_DIR=${GITHUB_WORKSPACE}/skript-docs" >> $GITHUB_OUTPUT
- name: Checkout Skript
uses: actions/checkout@v3
with:
ref: ${{ github.event.repository.default_branch }}
submodules: recursive
path: skript
- name: Setup documentation environment
uses: ./skript/.github/workflows/docs/setup-docs
with:
docs_deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }}
docs_output_dir: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
- name: Cleanup nightly documentation
env:
DOCS_OUTPUT_DIR: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
run: |
rm -rf ${DOCS_OUTPUT_DIR} || true
- name: Push nightly documentation cleanup
uses: ./skript/.github/workflows/docs/push-docs
with:
docs_repo_dir: ${{ steps.configuration.outputs.DOCS_REPO_DIR }}
git_name: Nightly Docs Bot
git_email: nightlydocs@skriptlang.org
git_commit_message: "Delete ${{ steps.configuration.outputs.BRANCH_NAME }} branch nightly docs"
64 changes: 61 additions & 3 deletions .github/workflows/docs/generate-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,82 @@ inputs:
required: false
default: false
type: boolean
cleanup_pattern:
description: "A pattern designating which files to delete when cleaning the documentation output directory"
required: false
default: "*"
type: string

outputs:
DOCS_CHANGED:
description: "Whether or not the documentation has changed since the last push"
value: ${{ steps.generate.outputs.DOCS_CHANGED }}

runs:
using: 'composite'
steps:
- name: generate-docs
id: generate
shell: bash
env:
DOCS_OUTPUT_DIR: ${{ inputs.docs_output_dir }}
DOCS_REPO_DIR: ${{ inputs.docs_repo_dir }}
SKRIPT_REPO_DIR: ${{ inputs.skript_repo_dir }}
IS_RELEASE: ${{ inputs.is_release }}
CLEANUP_PATTERN: ${{ inputs.cleanup_pattern }}
run: |
export SKRIPT_DOCS_TEMPLATE_DIR=${DOCS_REPO_DIR}/doc-templates
export SKRIPT_DOCS_OUTPUT_DIR=${DOCS_OUTPUT_DIR}/
replace_in_directory() {
find $1 -type f -exec sed -i -e "s/$2/$3/g" {} \;
}

# this should be replaced with a more reliable jq command,
# but it can't be right now because docs.json is actually not valid json.
get_skript_version_of_directory() {
grep skriptVersion "$1/docs.json" | cut -d\" -f 4
}

if [ -d "${DOCS_REPO_DIR}/docs/templates" ]
then
export SKRIPT_DOCS_TEMPLATE_DIR=${DOCS_REPO_DIR}/docs/templates
else
export SKRIPT_DOCS_TEMPLATE_DIR=${DOCS_REPO_DIR}/doc-templates
fi

export SKRIPT_DOCS_OUTPUT_DIR=/tmp/generated-docs

cd $SKRIPT_REPO_DIR
if [[ "${IS_RELEASE}" == "true" ]]; then
./gradlew genReleaseDocs releaseJavadoc
else
./gradlew genNightlyDocs javadoc
fi
cp -a "./build/docs/javadoc/." "${DOCS_OUTPUT_DIR}/javadocs"

if [ -d "${DOCS_OUTPUT_DIR}" ]; then
mkdir -p "${SKRIPT_DOCS_OUTPUT_DIR}/javadocs" && cp -a "./build/docs/javadoc/." "$_"

mkdir -p "/tmp/normalized-output-docs" && cp -a "${DOCS_OUTPUT_DIR}/." "$_"
mkdir -p "/tmp/normalized-generated-docs" && cp -a "${SKRIPT_DOCS_OUTPUT_DIR}/." "$_"

output_skript_version=$(get_skript_version_of_directory "/tmp/normalized-output-docs")
generated_skript_version=$(get_skript_version_of_directory "/tmp/normalized-generated-docs")

replace_in_directory "/tmp/normalized-output-docs" "${output_skript_version}" "Skript"
replace_in_directory "/tmp/normalized-generated-docs" "${generated_skript_version}" "Skript"

diff -qbr /tmp/normalized-output-docs /tmp/normalized-generated-docs || diff_exit_code=$?
# If diff exits with exit code 1, that means there were some differences
if [[ ${diff_exit_code} -eq 1 ]]; then
echo "DOCS_CHANGED=true" >> $GITHUB_OUTPUT
echo "Documentation has changed since last push"
else
echo "Documentation hasn't changed since last push"
fi
else
echo "DOCS_CHANGED=true" >> $GITHUB_OUTPUT
echo "No existing documentation found"
fi

rm -rf ${DOCS_OUTPUT_DIR}/${CLEANUP_PATTERN} || true
mkdir -p "${DOCS_OUTPUT_DIR}/" && cp -a "${SKRIPT_DOCS_OUTPUT_DIR}/." "$_"


14 changes: 8 additions & 6 deletions .github/workflows/docs/push-docs/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Generate documentation
name: Push documentation

inputs:
docs_output_dir:
description: "The directory to generate the documentation into"
required: true
type: string
docs_repo_dir:
description: "The skript-docs repository directory"
required: true
Expand Down Expand Up @@ -38,4 +34,10 @@ runs:
git config user.email "${GIT_EMAIL}"
git add -A
git commit -m "${GIT_COMMIT_MESSAGE}" || (echo "Nothing to push!" && exit 0)
git push origin main
# Attempt rebasing and pushing 5 times in case another job pushes before us
for i in 1 2 3 4 5
do
git pull --rebase -X theirs origin main
git push origin main && break
sleep 5
done
1 change: 0 additions & 1 deletion .github/workflows/docs/setup-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ runs:
CLEANUP_PATTERN: ${{ inputs.cleanup_pattern }}
run: |
eval `ssh-agent`
rm -rf ${DOCS_OUTPUT_DIR}/${CLEANUP_PATTERN} || true
echo "$DOCS_DEPLOY_KEY" | tr -d '\r' | ssh-add - > /dev/null
mkdir ~/.ssh
ssh-keyscan www.github.com >> ~/.ssh/known_hosts
15 changes: 13 additions & 2 deletions .github/workflows/nightly-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@ on:

jobs:
nightly-docs:
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
if: "!contains(toJSON(github.event.commits.*.message), '[ci skip]')"
runs-on: ubuntu-latest
steps:
- name: Configure workflow
id: configuration
env:
DOCS_DEPLOY_KEY: ${{ secrets.DOCS_DEPLOY_KEY }}
run: |
if [ -n "$DOCS_DEPLOY_KEY" ]
then
echo "DOCS_DEPLOY_KEY_PRESENT=true" >> $GITHUB_OUTPUT
else
echo "Secret 'DOCS_DEPLOY_KEY' not present. Exiting job."
fi
BRANCH_NAME="${GITHUB_REF#refs/*/}"
echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_OUTPUT
echo "DOCS_OUTPUT_DIR=${GITHUB_WORKSPACE}/skript-docs/docs/nightly/${BRANCH_NAME}" >> $GITHUB_OUTPUT
Expand All @@ -26,20 +34,23 @@ jobs:
submodules: recursive
path: skript
- name: Setup documentation environment
if: steps.configuration.outputs.DOCS_DEPLOY_KEY_PRESENT == 'true'
uses: ./skript/.github/workflows/docs/setup-docs
with:
docs_deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }}
docs_output_dir: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
- name: Generate documentation
id: generate
if: steps.configuration.outputs.DOCS_DEPLOY_KEY_PRESENT == 'true'
uses: ./skript/.github/workflows/docs/generate-docs
with:
docs_output_dir: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
docs_repo_dir: ${{ steps.configuration.outputs.DOCS_REPO_DIR }}
skript_repo_dir: ${{ steps.configuration.outputs.SKRIPT_REPO_DIR }}
- name: Push nightly documentation
if: steps.generate.outputs.DOCS_CHANGED == 'true'
uses: ./skript/.github/workflows/docs/push-docs
with:
docs_output_dir: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
docs_repo_dir: ${{ steps.configuration.outputs.DOCS_REPO_DIR }}
git_name: Nightly Docs Bot
git_email: nightlydocs@skriptlang.org
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
with:
docs_deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }}
docs_output_dir: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
cleanup_pattern: "!(nightly|archives)"
- name: Generate documentation
uses: ./skript/.github/workflows/docs/generate-docs
with:
docs_output_dir: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
docs_repo_dir: ${{ steps.configuration.outputs.DOCS_REPO_DIR }}
skript_repo_dir: ${{ steps.configuration.outputs.SKRIPT_REPO_DIR }}
is_release: true
cleanup_pattern: "!(nightly|archives|templates)"
- name: Push release documentation
uses: ./skript/.github/workflows/docs/push-docs
with:
Expand Down Expand Up @@ -68,14 +68,12 @@ jobs:
- name: Generate documentation
uses: ./skript/.github/workflows/docs/generate-docs
with:
docs_output_dir: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
docs_repo_dir: ${{ steps.configuration.outputs.DOCS_REPO_DIR }}
skript_repo_dir: ${{ steps.configuration.outputs.SKRIPT_REPO_DIR }}
is_release: true
- name: Push archive documentation
uses: ./skript/.github/workflows/docs/push-docs
with:
docs_output_dir: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
docs_repo_dir: ${{ steps.configuration.outputs.DOCS_REPO_DIR }}
git_name: Archive Docs Bot
git_email: archivedocs@skriptlang.org
Expand Down
31 changes: 23 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,6 @@ license {
exclude('**/*.json') // JSON files do not have headers
}

javadoc {
source = sourceSets.main.allJava
classpath = configurations.compileClasspath
options.encoding = 'UTF-8'
// currently our javadoc has a lot of errors, so we need to suppress the linter
options.addStringOption('Xdoclint:none', '-quiet')
}

task releaseJavadoc(type: Javadoc) {
title = project.property('version')
source = sourceSets.main.allJava
Expand Down Expand Up @@ -394,3 +386,26 @@ task nightlyRelease(type: ShadowJar) {
)
}
}

javadoc {
dependsOn nightlyResources

source = sourceSets.main.allJava

exclude("ch/njol/skript/conditions/**")
exclude("ch/njol/skript/expressions/**")
exclude("ch/njol/skript/effects/**")
exclude("ch/njol/skript/events/**")
exclude("ch/njol/skript/sections/**")
exclude("ch/njol/skript/structures/**")
exclude("ch/njol/skript/lang/function/EffFunctionCall.java")
exclude("ch/njol/skript/lang/function/ExprFunctionCall.java")
exclude("ch/njol/skript/hooks/**")
exclude("ch/njol/skript/test/**")

classpath = configurations.compileClasspath + sourceSets.main.output
options.encoding = 'UTF-8'
// currently our javadoc has a lot of errors, so we need to suppress the linter
options.addStringOption('Xdoclint:none', '-quiet')
}