Skip to content

Commit

Permalink
Check licenses in mixin-test-data
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNesto committed Aug 14, 2024
1 parent 7d574f5 commit 5273bb3
Show file tree
Hide file tree
Showing 17 changed files with 232 additions and 66 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,14 @@ license {
},
)
}
register("mixinTestData") {
files.from(
project.fileTree(project.projectDir.resolve("mixin-test-data")) {
include("**/*.java", "**/*.kts")
exclude("**/build/**")
},
)
}
register("grammars") {
files.from(project.fileTree("src/main/grammars"))
}
Expand Down
18 changes: 14 additions & 4 deletions mixin-test-data/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

plugins {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.accessor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.accessor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.ambiguousReference;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.invalidInjectorMethodSignatureFix;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.invalidInjectorMethodSignatureFix;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.invalidInjectorMethodSignatureFix;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.invalidInjectorMethodSignatureFix;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.invalidInjectorMethodSignatureFix;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.invalidInjectorMethodSignatureInspection;

import java.lang.String;

public class MixedInOuter {
public MixedInOuter() {
this(method1());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.multipleTarget;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.shadow;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.superClass;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
/*
* Minecraft Dev for IntelliJ
* Minecraft Development for IntelliJ
*
* https://minecraftdev.org
* https://mcdev.io/
*
* Copyright (c) 2021 minecraft-dev
* Copyright (C) 2024 minecraft-dev
*
* MIT License
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, version 3.0 only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.demonwav.mcdev.mixintestdata.superClass;
Expand Down
Loading

0 comments on commit 5273bb3

Please sign in to comment.