Skip to content

Commit

Permalink
update package
Browse files Browse the repository at this point in the history
  • Loading branch information
apo2073 committed Dec 7, 2024
1 parent 28f61b0 commit b8e7ecc
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "com.github.apo2073"
version = "1.0"
version = "1.0.1"

repositories {
mavenCentral()
Expand Down Expand Up @@ -41,7 +41,7 @@ publishing {
create<MavenPublication>("maven") {
groupId = "com.github.apo2073"
artifactId = "YoutubeLiv"
version = "1.0"
version = "1.0.1"

from(components["java"])

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package kr.apo2073;
package kr.apo2073.ytliv;

import kr.apo2073.exception.NullVideoID;
import kr.apo2073.listener.YouTubeEventListener;
import kr.apo2073.ytliv.exception.NullVideoID;
import kr.apo2073.ytliv.listener.YouTubeEventListener;

import java.io.IOException;
import java.security.GeneralSecurityException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

package kr.apo2073;
package kr.apo2073.ytliv;

import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
import com.google.api.client.json.jackson2.JacksonFactory;
import com.google.api.services.youtube.YouTube;
import com.google.api.services.youtube.model.LiveChatMessage;
import kr.apo2073.data.Chatting;
import kr.apo2073.data.SuperChat;
import kr.apo2073.data.SuperSticker;
import kr.apo2073.enums.MessageType;
import kr.apo2073.exception.NullLiveChatId;
import kr.apo2073.listener.YouTubeEventListener;
import kr.apo2073.ytliv.data.Chatting;
import kr.apo2073.ytliv.data.SuperChat;
import kr.apo2073.ytliv.data.SuperSticker;
import kr.apo2073.ytliv.enums.MessageType;
import kr.apo2073.ytliv.exception.NullLiveChatId;
import kr.apo2073.ytliv.listener.YouTubeEventListener;

import java.io.IOException;
import java.security.GeneralSecurityException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package kr.apo2073.data;
package kr.apo2073.ytliv.data;

import com.google.api.services.youtube.model.LiveChatMessage;
import com.google.api.services.youtube.model.LiveChatMessageAuthorDetails;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package kr.apo2073.data;
package kr.apo2073.ytliv.data;

import com.google.api.services.youtube.model.LiveChatMessage;
import com.google.api.services.youtube.model.LiveChatMessageAuthorDetails;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package kr.apo2073.data;
package kr.apo2073.ytliv.data;

import com.google.api.services.youtube.model.LiveChatMessage;
import com.google.api.services.youtube.model.LiveChatMessageAuthorDetails;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package kr.apo2073.enums;
package kr.apo2073.ytliv.enums;

public enum MessageType {
TEXT_MESSAGE("textMessageEvent"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package kr.apo2073.exception;
package kr.apo2073.ytliv.exception;

public class NoSuchVideo extends RuntimeException {
public NoSuchVideo() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package kr.apo2073.exception;
package kr.apo2073.ytliv.exception;

public class NullLiveChatId extends IllegalStateException {
public NullLiveChatId() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package kr.apo2073.exception;
package kr.apo2073.ytliv.exception;

public class NullVideoID extends RuntimeException {
public NullVideoID() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package kr.apo2073.listener;
package kr.apo2073.ytliv.listener;

import kr.apo2073.data.Chatting;
import kr.apo2073.data.SuperChat;
import kr.apo2073.data.SuperSticker;
import kr.apo2073.ytliv.data.Chatting;
import kr.apo2073.ytliv.data.SuperChat;
import kr.apo2073.ytliv.data.SuperSticker;

public interface YouTubeEventListener {
default void onChat(Chatting chat) {}
Expand Down
8 changes: 4 additions & 4 deletions src/test/java/Main.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import kr.apo2073.YouTubeBuilder;
import kr.apo2073.Youtube;
import kr.apo2073.data.Chatting;
import kr.apo2073.listener.YouTubeEventListener;
import kr.apo2073.ytliv.YouTubeBuilder;
import kr.apo2073.ytliv.Youtube;
import kr.apo2073.ytliv.data.Chatting;
import kr.apo2073.ytliv.listener.YouTubeEventListener;

public class Main {
public static void main(String[] args) {
Expand Down

0 comments on commit b8e7ecc

Please sign in to comment.