Skip to content

Commit

Permalink
try with local jar
Browse files Browse the repository at this point in the history
  • Loading branch information
unldenis committed Nov 21, 2024
1 parent 12ceb63 commit 7e50e1e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ repositories {
url = uri("https://repo.maven.apache.org/maven2/")
}

maven {
url = uri("https://repo.dmulloy2.net/repository/public/")
}

maven {
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[versions]
com-comphenix-protocol-protocollib = "5.2.0-SNAPSHOT"
#com-comphenix-protocol-protocollib = "5.2.0-SNAPSHOT"
com-github-retrooper-packetevents-spigot = "2.5.0"
org-jetbrains-kotlin-kotlin-stdlib = "1.9.21"
org-spigotmc-spigot-api = "1.16.5-R0.1-SNAPSHOT"

[libraries]
com-comphenix-protocol-protocollib = { module = "com.comphenix.protocol:ProtocolLib", version.ref = "com-comphenix-protocol-protocollib" }
#com-comphenix-protocol-protocollib = { module = "com.comphenix.protocol:ProtocolLib", version.ref = "com-comphenix-protocol-protocollib" }
com-github-retrooper-packetevents-spigot = { module = "com.github.retrooper:packetevents-spigot", version.ref = "com-github-retrooper-packetevents-spigot" }
org-jetbrains-kotlin-kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "org-jetbrains-kotlin-kotlin-stdlib" }
org-spigotmc-spigot-api = { module = "org.spigotmc:spigot-api", version.ref = "org-spigotmc-spigot-api" }
11 changes: 10 additions & 1 deletion holoeasy-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,20 @@ plugins {
`kotlin-dsl`
}

repositories {
flatDir {
dirs("../libs")
}
}

dependencies {
compileOnly(libs.org.jetbrains.kotlin.kotlin.stdlib)
compileOnly(libs.org.spigotmc.spigot.api)
compileOnly(libs.com.comphenix.protocol.protocollib)
// compileOnly(libs.com.comphenix.protocol.protocollib)
compileOnly(libs.com.github.retrooper.packetevents.spigot)

compileOnly(files("../libs/ProtocolLib.jar"))

}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
Expand Down
Binary file added libs/ProtocolLib.jar
Binary file not shown.
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/


rootProject.name = "holoeasy"
include(":holoeasy-core")
include(":holoeasy-example-packetevents")
Expand Down

0 comments on commit 7e50e1e

Please sign in to comment.