Skip to content

Commit

Permalink
chore: Update LICENSE header
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed May 26, 2024
1 parent 7e73851 commit 21a4b80
Show file tree
Hide file tree
Showing 27 changed files with 56 additions and 57 deletions.
4 changes: 2 additions & 2 deletions LICENSE_HEADER.md → HEADER.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
This file is part of NoHorny. The plugin securing your server against nsfw.
This file is part of NoHorny. The plugin securing your server against nsfw builds.

MIT License

Copyright (c) 2023 Xpdustry
Copyright (c) 2024 Xpdustry

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Xpdustry
Copyright (c) 2024 Xpdustry

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
11 changes: 5 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,14 @@ signing {

spotless {
kotlin {
fun toLongComment(text: String) =
ktfmt().dropboxStyle()
licenseHeader(
buildString {
appendLine("/*")
text.lines().forEach { appendLine(" * ${it.trim()}") }
rootProject.file("HEADER.md").readText().lines().forEach { appendLine(" * ${it.trim()}") }
appendLine(" */")
}

ktfmt().dropboxStyle()
licenseHeader(toLongComment(rootProject.file("LICENSE_HEADER.md").readText()))
},
)
indentWithSpaces(4)
trimTrailingWhitespace()
endWithNewline()
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/NoHornyAPI.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/NoHornyAutoBan.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/NoHornyCache.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/NoHornyConfig.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/NoHornyImage.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/NoHornyListener.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/NoHornyLogger.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/NoHornyPlugin.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/NoHornyTracker.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/geometry/Cluster.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xpdustry/nohorny/geometry/Rectangle.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* This file is part of NoHorny. The plugin securing your server against nsfw.
* This file is part of NoHorny. The plugin securing your server against nsfw builds.
*
* MIT License
*
* Copyright (c) 2023 Xpdustry
* Copyright (c) 2024 Xpdustry
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 21a4b80

Please sign in to comment.