HikariScoreBoard — Third-Party Notices
======================================

HikariScoreBoard itself is distributed under the terms of the accompanying
LICENSE file (All Rights Reserved). Those terms cover HikariScoreBoard's own
code and resources only.

The distributed jar additionally embeds the third-party libraries listed below
under `META-INF/jars/` using Fabric's jar-in-jar mechanism. Each library is
embedded **unmodified, as its own complete jar**, and remains under its own
license. Nothing below is relicensed by the LICENSE file above.

Full license texts referenced here are shipped alongside this file:

    licenses/Apache-2.0.txt   Apache License, Version 2.0
    licenses/LGPL-2.1.txt     GNU Lesser General Public License, Version 2.1

The list matches the `include(...)` declarations in `build.gradle.kts`. It is
identical for all thirteen per-Minecraft-version jars.


--------------------------------------------------------------------------
1. JDA (Java Discord API)
--------------------------------------------------------------------------
    Version:      5.0.0-beta.18
    Coordinates:  net.dv8tion:JDA:5.0.0-beta.18
    Embedded as:  META-INF/jars/JDA-5.0.0-beta.18.jar
    Homepage:     https://github.com/discord-jda/JDA
    License:      Apache License 2.0 — see licenses/Apache-2.0.txt

    Copyright 2015 Austin Keener, Michael Ritter, Florian Spieß,
    and the JDA contributors

    Used by HikariScoreBoard's optional Discord Forum posting feature.
    The `opus-java` dependency (voice support) is excluded from the build and
    is not embedded.


--------------------------------------------------------------------------
2. nv-websocket-client
--------------------------------------------------------------------------
    Version:      2.14
    Coordinates:  com.neovisionaries:nv-websocket-client:2.14
    Embedded as:  META-INF/jars/nv-websocket-client-2.14.jar
    Homepage:     https://github.com/TakahikoKawasaki/nv-websocket-client
    License:      Apache License 2.0 — see licenses/Apache-2.0.txt

    Copyright (C) 2015-2017 Neo Visionaries Inc.

    Transitive dependency of JDA (Discord gateway WebSocket).


--------------------------------------------------------------------------
3. OkHttp
--------------------------------------------------------------------------
    Version:      4.12.0
    Coordinates:  com.squareup.okhttp3:okhttp:4.12.0
    Embedded as:  META-INF/jars/okhttp-4.12.0.jar
    Homepage:     https://lysine.dev/okhttp/
    License:      Apache License 2.0 — see licenses/Apache-2.0.txt

    Copyright Square, Inc.

    Transitive dependency of JDA (Discord REST calls).

    The project has since moved out of Square's GitHub organisation to the
    Commonhaus Foundation; `github.com/square/okhttp` now redirects to
    `github.com/lysine-dev/okhttp` and the documentation site above replaces
    the former `square.github.io/okhttp`. The bundled 4.12.0 artifact and its
    copyright notice are unaffected.

    OkHttp itself embeds one further third-party component, and carries its
    notice at `okhttp3/internal/publicsuffix/NOTICE` inside its own jar:

        Note that publicsuffixes.gz is compiled from The Public Suffix List:
        https://publicsuffix.org/list/public_suffix_list.dat

        It is subject to the terms of the Mozilla Public License, v. 2.0:
        https://mozilla.org/MPL/2.0/


--------------------------------------------------------------------------
4. Okio
--------------------------------------------------------------------------
    Version:      3.6.0
    Coordinates:  com.squareup.okio:okio:3.6.0
                  com.squareup.okio:okio-jvm:3.6.0
    Embedded as:  META-INF/jars/okio-jvm-3.6.0.jar
                  (the `okio` module is a Kotlin-Multiplatform alias that
                   resolves to `okio-jvm` on the JVM, so only one jar ships)
    Homepage:     https://lysine.dev/okio/
    License:      Apache License 2.0 — see licenses/Apache-2.0.txt

    Copyright Square, Inc.

    Transitive dependency of OkHttp.


--------------------------------------------------------------------------
5. Kotlin Standard Library
--------------------------------------------------------------------------
    Version:      1.9.21
    Coordinates:  org.jetbrains.kotlin:kotlin-stdlib:1.9.21
    Embedded as:  META-INF/jars/kotlin-stdlib-1.9.21.jar
    Homepage:     https://kotlinlang.org/
    License:      Apache License 2.0 — see licenses/Apache-2.0.txt

    Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language
    contributors

    Required at runtime by OkHttp and Okio, which are written in Kotlin.


--------------------------------------------------------------------------
6. Apache Commons Collections
--------------------------------------------------------------------------
    Version:      4.4
    Coordinates:  org.apache.commons:commons-collections4:4.4
    Embedded as:  META-INF/jars/commons-collections4-4.4.jar
    Homepage:     https://commons.apache.org/proper/commons-collections/
    License:      Apache License 2.0 — see licenses/Apache-2.0.txt

    Apache Commons Collections
    Copyright 2001-2019 The Apache Software Foundation

    This product includes software developed at
    The Apache Software Foundation (http://www.apache.org/).

    Transitive dependency of JDA. Its own LICENSE.txt / NOTICE.txt are
    present inside its jar under META-INF/.


--------------------------------------------------------------------------
7. Jackson (jackson-core / jackson-databind / jackson-annotations)
--------------------------------------------------------------------------
    Version:      2.16.0
    Coordinates:  com.fasterxml.jackson.core:jackson-core:2.16.0
                  com.fasterxml.jackson.core:jackson-databind:2.16.0
                  com.fasterxml.jackson.core:jackson-annotations:2.16.0
    Embedded as:  META-INF/jars/jackson-core-2.16.0.jar
                  META-INF/jars/jackson-databind-2.16.0.jar
                  META-INF/jars/jackson-annotations-2.16.0.jar
    Homepage:     https://github.com/FasterXML/jackson
    License:      Apache License 2.0 — see licenses/Apache-2.0.txt

    Copyright 2007-, Tatu Saloranta (tatu.saloranta@iki.fi)

    Transitive dependency of JDA (JSON handling). Each Jackson jar carries its
    own META-INF/LICENSE and META-INF/NOTICE. jackson-core additionally embeds
    FastDoubleParser and a `bigint` component, whose separate notices ship
    inside jackson-core's own jar as META-INF/FastDoubleParser-LICENSE,
    META-INF/FastDoubleParser-NOTICE and META-INF/bigint-LICENSE.


--------------------------------------------------------------------------
8. GNU Trove (trove4j)  — GNU LGPL 2.1
--------------------------------------------------------------------------
    Version:      3.0.3
    Coordinates:  net.sf.trove4j:trove4j:3.0.3
    Embedded as:  META-INF/jars/trove4j-3.0.3.jar
    Homepage:     https://sourceforge.net/projects/trove4j/
    License:      GNU Lesser General Public License, Version 2.1
                  — see licenses/LGPL-2.1.txt

    GNU Trove — developed by Eric D. Friedman, Rob Eden, Jeff Randall and
    Johan Parent (developer list taken from the published POM).

    Two classes in the library, `gnu/trove/impl/HashFunctions` and
    `gnu/trove/impl/PrimeFinder`, carry a separate permissive notice in the
    upstream sources:

        Copyright (c) 1999 CERN - European Organization for Nuclear Research.

        Permission to use, copy, modify, distribute and sell this software
        and its documentation for any purpose is hereby granted without fee,
        provided that the above copyright notice appear in all copies and
        that both that copyright notice and this permission notice appear in
        supporting documentation. CERN makes no representations about the
        suitability of this software for any purpose. It is provided "as is"
        without expressed or implied warranty.

    Facts about how it is distributed here:

      * trove4j is a *runtime-scope transitive dependency of JDA*, not a
        direct dependency of HikariScoreBoard. It is genuinely used: JDA's
        `net.dv8tion.jda.internal.utils.cache` classes reference `gnu.trove`.
      * It is embedded verbatim, as its own separate jar, byte-identical to
        the artifact published on Maven Central. It is not shaded, repackaged,
        merged into HikariScoreBoard classes, or otherwise modified.
      * A complete copy of the LGPL 2.1 is distributed with this jar at
        `licenses/LGPL-2.1.txt`.
      * The corresponding source for this exact version is published on Maven
        Central as `net.sf.trove4j:trove4j:3.0.3:sources`, downloadable from
        https://repo1.maven.org/maven2/net/sf/trove4j/trove4j/3.0.3/

    Sections 5 and 6 of the LGPL 2.1 place conditions on distributing a work
    that uses the library. How this distribution addresses each of them:

      * Notice and license text. This file names the library, its version, its
        authors and its license, and a complete copy of the LGPL 2.1 ships in
        every jar at `licenses/LGPL-2.1.txt`.
      * Corresponding source. Published on Maven Central for this exact
        version, at the URL given above.
      * Relinking against a modified library. Because trove4j ships as its own
        unmodified jar under `META-INF/jars/` (see above), it can be replaced
        with a different build of the same library without rebuilding this
        mod. The LICENSE distributed in this jar expressly permits doing that:
        under "Embedded third-party libraries" it grants every recipient the
        right to modify their own copy of the Software for their own use,
        including replacing a library embedded under `META-INF/jars/`, and to
        reverse engineer, decompile or disassemble the Software as far as is
        necessary to debug those modifications.

    Those two permissions are granted for private use. They do not permit
    copying, publishing, distributing, sublicensing or selling the Software or
    any modified version of it; every other restriction in the LICENSE stays in
    force. Nothing in this file is legal advice.


--------------------------------------------------------------------------
Notes
--------------------------------------------------------------------------
  * Gson (`com.google.code.gson:gson`) is compiled against but NOT embedded:
    Minecraft already ships it. It therefore does not appear above.
  * Fabric Loader, Fabric API, Minecraft and Yarn mappings are not embedded
    either; they are provided by the server the mod runs on.
  * When a bundled library's version changes in `build.gradle.kts`, update
    this file in the same commit. It is copied into every jar by the
    `processResources` block in `build.gradle.kts`.
