fix: Fixed license header

This commit is contained in:
Adrian 2024-01-20 17:28:31 -05:00
parent 7cdea5a2bb
commit b4225748d0
No known key found for this signature in database
GPG Key ID: FB8EF84DCE1BE452
45 changed files with 105 additions and 105 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -8,66 +8,66 @@ java {
withSourcesJar() withSourcesJar()
withJavadocJar() withJavadocJar()
} }
/*
publishing {
publications {
create<MavenPublication>("mavenJava") {
repositories {
maven {
credentials(PasswordCredentials::class.java)
val central = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" //publishing {
val snapshots = "https://s01.oss.sonatype.org/content/repositories/snapshots/" // publications {
// create<MavenPublication>("mavenJava") {
// repositories {
// maven {
// credentials(PasswordCredentials::class.java)
//
// val central = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
// val snapshots = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
//
// if (project.version.toString().endsWith("SNAPSHOT")) {
// name = "SonatypeSnapshots"
// setUrl(snapshots)
// } else {
// name = "OSSRH"
// setUrl(central)
// }
// }
// }
// from(components["java"])
// pom {
// url.set("https://github.com/4drian3d/AuthMeVelocity")
// licenses {
// license {
// name.set("GNU General Public License version 3 or later")
// url.set("https://opensource.org/licenses/GPL-3.0")
// }
// }
// scm {
// connection.set("scm:git:https://github.com/4drian3d/AuthMeVelocity.git")
// developerConnection.set("scm:git:ssh://git@github.com/4drian3d/AuthMeVelocity.git")
// url.set("https://github.com/4drian3d/AuthMeVelocity")
// }
// developers {
// developer {
// id.set("4drian3d")
// name.set("Adrian Gonzales")
// email.set("adriangonzalesval@gmail.com")
// }
// }
// issueManagement {
// name.set("GitHub")
// url.set("https://github.com/4drian3d/AuthMeVelocity/issues")
// }
// ciManagement {
// name.set("GitHub Actions")
// url.set("https://github.com/4drian3d/AuthMeVelocity/actions")
// }
// name.set(project.name)
// description.set(project.description)
// url.set("https://github.com/4drian3d/AuthMeVelocity")
// }
// }
// }
//}
//
//signing {
// useGpgCmd()
// sign(configurations.archives.get())
// sign(publishing.publications["mavenJava"])
//}
if (project.version.toString().endsWith("SNAPSHOT")) {
name = "SonatypeSnapshots"
setUrl(snapshots)
} else {
name = "OSSRH"
setUrl(central)
}
}
}
from(components["java"])
pom {
url.set("https://github.com/4drian3d/AuthMeVelocity")
licenses {
license {
name.set("GNU General Public License version 3 or later")
url.set("https://opensource.org/licenses/GPL-3.0")
}
}
scm {
connection.set("scm:git:https://github.com/4drian3d/AuthMeVelocity.git")
developerConnection.set("scm:git:ssh://git@github.com/4drian3d/AuthMeVelocity.git")
url.set("https://github.com/4drian3d/AuthMeVelocity")
}
developers {
developer {
id.set("4drian3d")
name.set("Adrian Gonzales")
email.set("adriangonzalesval@gmail.com")
}
}
issueManagement {
name.set("GitHub")
url.set("https://github.com/4drian3d/AuthMeVelocity/issues")
}
ciManagement {
name.set("GitHub Actions")
url.set("https://github.com/4drian3d/AuthMeVelocity/actions")
}
name.set(project.name)
description.set(project.description)
url.set("https://github.com/4drian3d/AuthMeVelocity")
}
}
}
}
signing {
useGpgCmd()
sign(configurations.archives.get())
sign(publishing.publications["mavenJava"])
}
*/

View File

@ -1,7 +1,7 @@
plugins { plugins {
alias(libs.plugins.ideaext) alias(libs.plugins.ideaext)
alias(libs.plugins.blossom) alias(libs.plugins.blossom)
id("authmevelocity.spotless") //id("authmevelocity.spotless")
} }
dependencies { dependencies {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
group = io.github.4drian3d group = io.github.4drian3d
version = 4.1.0 version = 4.1.1-SNAPSHOT
description = AuthMeReloaded Support for Velocity description = AuthMeReloaded Support for Velocity
url = https://modrinth.com/plugin/authmevelocity url = https://modrinth.com/plugin/authmevelocity
id = authmevelocity id = authmevelocity

View File

@ -29,7 +29,7 @@ adventure = { group = "net.kyori", name = "adventure-api", version.ref = "advent
paper = { group = "io.papermc.paper", name = "paper-api", version.ref = "paper" } paper = { group = "io.papermc.paper", name = "paper-api", version.ref = "paper" }
velocity-api = { group = "com.velocitypowered", name = "velocity-api", version.ref = "velocity" } velocity-api = { group = "com.velocitypowered", name = "velocity-api", version.ref = "velocity" }
velocity-proxy = { group = "com.velocitypowered", name = "velocity-proxy", version = "3.2.0-SNAPSHOT" } velocity-proxy = { group = "com.velocitypowered", name = "velocity-proxy", version.ref = "velocity" }
authme = { module = "fr.xephi:authme", version.ref = "authme" } authme = { module = "fr.xephi:authme", version.ref = "authme" }
libby-core = { group = "net.byteflux", name = "libby-core", version.ref = "libby" } libby-core = { group = "net.byteflux", name = "libby-core", version.ref = "libby" }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -26,6 +26,7 @@ dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories { repositories {
maven("https://papermc.io/repo/repository/maven-public/") maven("https://papermc.io/repo/repository/maven-public/")
maven("https://repo.william278.net/velocity/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://repo.codemc.org/repository/maven-public/") { maven("https://repo.codemc.org/repository/maven-public/") {
mavenContent { mavenContent {
@ -38,6 +39,5 @@ dependencyResolutionManagement {
includeGroup("net.byteflux") includeGroup("net.byteflux")
} }
} }
maven("https://maven.elytrium.net/repo/")
} }
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2023 AuthMeVelocity Contributors * Copyright (C) 2024 AuthMeVelocity Contributors
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by