Skip to content

Commit

Permalink
feat!: rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
entrypointkr committed Mar 2, 2024
1 parent 19e5dcb commit 613ed9f
Show file tree
Hide file tree
Showing 23 changed files with 60 additions and 62 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ There is no side effect except `BukkitView.class`, all functions just pure, ther

Also, this library is a good showcase how to do declarative programming in Java.

[Example is here!](https://github.com/typecraft-io/bukkit-view/blob/main/plugin/src/main/java/io/typecraft/bukkit/view/plugin/ViewPlugin.java)
[Example is here!](https://github.com/typst-io/bukkit-view/blob/main/plugin/src/main/java/io/typst/bukkit/view/plugin/ViewPlugin.java)

## Import

Expand All @@ -18,7 +18,7 @@ repositories {
}
dependencies {
implementation("io.typecraft:bukkit-view-core:5.1.2")
implementation("io.typst:bukkit-view-core:6.0.0")
}
```

Expand All @@ -27,7 +27,7 @@ dependencies {
```xml
<dependencies>
<dependency>
<groupId>io.typecraft</groupId>
<groupId>io.typst</groupId>
<artifactId>bukkit-view-core</artifactId>
<version>5.1.2</version>
</dependency>
Expand All @@ -36,10 +36,10 @@ dependencies {

### Quickstart

https://github.com/typecraft-io/bukkit-view-template
https://github.com/typst-io/bukkit-view-template

```shell
git clone https://github.com/typecraft-io/bukkit-view-template
git clone https://github.com/typst-io/bukkit-view-template
```

## Initialize
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ plugins {
id 'base'
}

group 'io.typecraft'
group 'io.typst'
12 changes: 6 additions & 6 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ plugins {
id 'kr.entree.spigradle.base' version '2.3.4'
}

group 'io.typecraft'
version '6.0.2'
group 'io.typst'
version '7.0.0'

repositories {
mavenCentral()
Expand All @@ -28,7 +28,7 @@ publishing {
pom {
name.set("${project.group}:${project.name}")
description.set("Pure view library for Minecraft.")
url.set("https://github.com/typecraft-io/bukkit-view")
url.set("https://github.com/typst-io/bukkit-view")
licenses {
license {
name.set("The GNU General Public License, Version 3.0")
Expand All @@ -43,9 +43,9 @@ publishing {
}
}
scm {
connection.set("scm:git:git://github.com/typecraft-io/bukkit-view.git")
developerConnection.set("scm:git:ssh://github.com:typecraft-io/bukkit-view.git")
url.set("https://github.com/typecraft-io/bukkit-view/tree/master")
connection.set("scm:git:git://github.com/typst-io/bukkit-view.git")
developerConnection.set("scm:git:ssh://github.com:typst-io/bukkit-view.git")
url.set("https://github.com/typst-io/bukkit-view/tree/master")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import org.bukkit.Bukkit;
import org.bukkit.Material;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import lombok.Builder;
import lombok.Value;
import lombok.With;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.Nullable;

import java.util.ArrayList;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import lombok.Data;
import lombok.With;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import lombok.Data;
import lombok.With;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import lombok.Value;
import lombok.With;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import lombok.Value;
import lombok.With;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import lombok.Data;
import lombok.Value;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import lombok.Data;
import lombok.Value;
import lombok.With;
import org.bukkit.Material;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import lombok.Data;
import lombok.With;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view;
package io.typst.bukkit.view;

import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view.item;
package io.typst.bukkit.view.item;

import lombok.Data;
import lombok.With;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view.page;
package io.typst.bukkit.view.page;

import lombok.Data;
import lombok.With;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package io.typecraft.bukkit.view.page;
package io.typst.bukkit.view.page;

import io.typecraft.bukkit.view.ChestView;
import io.typecraft.bukkit.view.ViewAction;
import io.typecraft.bukkit.view.ViewContents;
import io.typecraft.bukkit.view.ViewControl;
import io.typecraft.bukkit.view.item.BukkitItem;
import io.typst.bukkit.view.ChestView;
import io.typst.bukkit.view.ViewAction;
import io.typst.bukkit.view.ViewContents;
import io.typst.bukkit.view.ViewControl;
import io.typst.bukkit.view.item.BukkitItem;
import lombok.Data;
import lombok.With;
import org.bukkit.Material;
Expand Down
4 changes: 2 additions & 2 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

group 'io.typecraft'
version '6.0.2'
group 'io.typst'
version '7.0.0'

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package io.typecraft.bukkit.view.plugin;
package io.typst.bukkit.view.plugin;

import io.typecraft.bukkit.view.BukkitView;
import io.typecraft.bukkit.view.ChestView;
import io.typecraft.bukkit.view.plugin.config.ViewConfigCodec;
import io.typecraft.bukkit.view.plugin.view.ItemListView;
import io.typecraft.bukkit.view.plugin.view.PlayerChestView;
import io.typst.bukkit.view.BukkitView;
import io.typst.bukkit.view.ChestView;
import io.typst.bukkit.view.plugin.config.ViewConfigCodec;
import io.typst.bukkit.view.plugin.view.ItemListView;
import io.typst.bukkit.view.plugin.view.PlayerChestView;
import me.clip.placeholderapi.PlaceholderAPI;
import org.bukkit.Bukkit;
import org.bukkit.Material;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view.plugin.bungee;
package io.typst.bukkit.view.plugin.bungee;

import lombok.Value;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.typecraft.bukkit.view.plugin.command;
package io.typst.bukkit.view.plugin.command;

import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.typecraft.bukkit.view.plugin.config;
package io.typst.bukkit.view.plugin.config;

import io.typecraft.bukkit.view.ChestView;
import io.typecraft.bukkit.view.ViewAction;
import io.typecraft.bukkit.view.ViewContents;
import io.typecraft.bukkit.view.ViewControl;
import io.typecraft.bukkit.view.plugin.ViewPlugin;
import io.typecraft.bukkit.view.plugin.command.StringCommandExecutor;
import io.typst.bukkit.view.ChestView;
import io.typst.bukkit.view.ViewAction;
import io.typst.bukkit.view.ViewContents;
import io.typst.bukkit.view.ViewControl;
import io.typst.bukkit.view.plugin.ViewPlugin;
import io.typst.bukkit.view.plugin.command.StringCommandExecutor;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.configuration.ConfigurationSection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.typecraft.bukkit.view.plugin.view;
package io.typst.bukkit.view.plugin.view;

import io.typecraft.bukkit.view.ChestView;
import io.typecraft.bukkit.view.ClickEvent;
import io.typecraft.bukkit.view.ViewAction;
import io.typecraft.bukkit.view.ViewControl;
import io.typecraft.bukkit.view.page.PageContext;
import io.typecraft.bukkit.view.page.PageViewLayout;
import io.typst.bukkit.view.ChestView;
import io.typst.bukkit.view.ClickEvent;
import io.typst.bukkit.view.ViewAction;
import io.typst.bukkit.view.ViewControl;
import io.typst.bukkit.view.page.PageContext;
import io.typst.bukkit.view.page.PageViewLayout;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package io.typecraft.bukkit.view.plugin.view;
package io.typst.bukkit.view.plugin.view;

import io.typecraft.bukkit.view.ChestView;
import io.typecraft.bukkit.view.ViewAction;
import io.typecraft.bukkit.view.ViewContents;
import io.typecraft.bukkit.view.ViewControl;
import io.typecraft.bukkit.view.item.BukkitItem;
import io.typst.bukkit.view.ChestView;
import io.typst.bukkit.view.ViewAction;
import io.typst.bukkit.view.ViewContents;
import io.typst.bukkit.view.ViewControl;
import io.typst.bukkit.view.item.BukkitItem;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
Expand Down

0 comments on commit 613ed9f

Please sign in to comment.