Skip to content

Commit

Permalink
正确包含许可证文件
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyRespawnanchor committed Oct 7, 2024
1 parent 3f23d5c commit eef983f
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ build/*
/fabric/src/main/generated/
/remappedSrc/
/.idea/
!/.idea/copyright/

!/.idea/copyright/z
/*/.architectury-transformer/

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
Expand Down Expand Up @@ -109,3 +109,4 @@ fabric.properties
/.idea/modules.xml
/.idea/vcs.xml
/.idea/workspace.xml

13 changes: 11 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,16 @@ subprojects {
accessWidenerPath = file("src/main/resources/ayame.accesswidener")
}

jar {
from(rootProject.file('COPYING'))
from(rootProject.file('COPYING.LESSER'))
from(rootProject.file('licenses')) {
into('licenses') // 将 licenses/ 文件夹完整放入 jar 中
}
}



dependencies {
minecraft "net.minecraft:minecraft:$rootProject.minecraft_version"
// mappings loom.officialMojangMappings()
Expand Down Expand Up @@ -142,5 +152,4 @@ subprojects {
}
repositories {
mavenCentral()
}

}
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
* Custom player model mod. Powered by GeckoLib.
* Copyright (C) 2024 CrystalNeko, HappyRespawnanchor, pertaz(Icon Designer)
*
* This file is part of Ayame.
*
* Ayame 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, either version 3 of the License, or
* (at your option) any later version.
*
* Ayame 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Ayame. If not, see <https://www.gnu.org/licenses/>.
*/

package org.ayamemc.ayame.client.gui.screen;

import com.mojang.blaze3d.systems.RenderSystem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@

package org.ayamemc.ayame.client.gui.screen;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.gui.screens.Screen;
import net.minecraft.resources.ResourceLocation;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

@Environment(EnvType.CLIENT)
public class SettingsScreen extends AyameMainScreen {
public SettingsScreen(@Nullable Screen lastScreen) {
super(lastScreen);
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Custom player model mod. Powered by GeckoLib.
* Copyright (C) 2024 CrystalNeko, HappyRespawnanchor, pertaz(Icon Designer)
*
Expand Down

0 comments on commit eef983f

Please sign in to comment.