Skip to content

Commit

Permalink
Fix dependency for use in maven projects
Browse files Browse the repository at this point in the history
  • Loading branch information
felldo committed May 29, 2023
1 parent 22171c9 commit 52da018
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins {
id ("com.autonomousapps.dependency-analysis") version "1.20.0"
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.caching=true
group=net.fellbaum
description=A Java library for conveniently working with interactions from Discord
version=0.2.1
version=0.2.2
14 changes: 7 additions & 7 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repositories {
}

dependencies {
implementation("org.javacord:javacord:3.8.0")
api("org.javacord:javacord-api:3.8.0")
implementation("org.apache.logging.log4j:log4j-api:2.20.0")

// Use JUnit Jupiter for testing.
Expand Down Expand Up @@ -49,7 +49,7 @@ publishing {
pom {
name.set("Discord Interaction Handler")
description.set(rootProject.description)
url.set("https://github.com/KILLEliteMaste/discord-interaction-handler")
url.set("https://github.com/felldo/discord-interaction-handler")

licenses {
license {
Expand All @@ -61,17 +61,17 @@ publishing {
inceptionYear.set("2022")
developers {
developer {
id.set("KILLEliteMaste")
id.set("felldo")
name.set("Dominic Fellbaum")
email.set("[email protected]")
url.set("https://github.com/KILLEliteMaste")
url.set("https://github.com/felldo")
timezone.set("Europe/Berlin")
}
}
scm {
connection.set("scm:git:https://github.com/KILLEliteMaste/discord-interaction-handler.git")
developerConnection.set("scm:git:[email protected]:KILLEliteMaste/discord-interaction-handler.git")
url.set("https://github.com/KILLEliteMaste/discord-interaction-handler")
connection.set("scm:git:https://github.com/felldo/discord-interaction-handler.git")
developerConnection.set("scm:git:[email protected]:felldo/discord-interaction-handler.git")
url.set("https://github.com/felldo/discord-interaction-handler")
}
}
}
Expand Down
8 changes: 0 additions & 8 deletions lib/src/test/java/dih/LibraryTest.java
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package dih;

import net.fellbaum.dih.handler.SimpleInteractionHandler;
import org.junit.jupiter.api.Test;

import java.util.Objects;
import java.util.function.BiFunction;

import static org.junit.jupiter.api.Assertions.*;

class LibraryTest {
@Test void someLibraryMethodReturnsTrue() {
SimpleInteractionHandler handler = new SimpleInteractionHandler();
Expand Down

0 comments on commit 52da018

Please sign in to comment.