Skip to content

Commit

Permalink
test javadoc with jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
HyperDondon committed Oct 19, 2024
1 parent 84ccff8 commit 8d8c286
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
17 changes: 17 additions & 0 deletions pom-jitpack.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<doclint>none</doclint>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public final class blissgems extends SimplePlugin implements Listener {
@Getter
public static BukkitAudiences adventure;
*/
public static Integer season;
public static blissgems plugin;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public boolean onCommand(@NotNull CommandSender commandSender, Command command,
//Player p = (Player) commandSender;
//ItemStack gem = GetGemItem.returngem(GemType.Strength, 2, Energy.Pristine, 1, 1);

//Gem gem = Gem.GemConstructor(GemType.Speed, 2, Energy.Cracked, 1,1 ,3);
//Gem gem = new Gem(GemType.Speed, 2, Energy.Cracked, 1,1 ,3);

//Component parsed = MiniMessage.miniMessage().deserialize("Hello <rainbow>world</rainbow>, isn't <underlined>MiniMessage</underlined> fun?");
// serialized = miniMessage.serialize(LegacyComponentSerializer.legacySection().deserialize(serialized));
Expand Down Expand Up @@ -212,7 +212,7 @@ public boolean onCommand(@NotNull CommandSender commandSender, Command command,

Settings.setSeason(2);
GemType type = GemType.valueOf(args[2].substring(0, 1).toUpperCase() + args[2].substring(1)); //Make all letter lowercase then capitalize first letter
Gem gem = Gem.GemConstructor(type, tier, Energy.Scratched);
Gem gem = new Gem(type, tier, Energy.Scratched);



Expand Down Expand Up @@ -280,7 +280,7 @@ else if (type == GemType.Wealth)
tier = 2;

//GemType type = GemType.valueOf(args[2].substring(0, 1).toUpperCase() + args[2].substring(1)); //Make all letter lowercase then capitalize first letter
//Gem gem = Gem.GemConstructor(type, tier, Energy.Pristine);
//Gem gem = new Gem(type, tier, Energy.Pristine);



Expand Down

This file was deleted.

0 comments on commit 8d8c286

Please sign in to comment.