Skip to content

Commit

Permalink
Move some platform implementations to new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lucko committed Oct 20, 2024
1 parent 6effd0d commit 4face76
Show file tree
Hide file tree
Showing 48 changed files with 66 additions and 2,482 deletions.
15 changes: 5 additions & 10 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,13 @@ plugins {
rootProject.name = 'spark'
include (
'spark-api',
'spark-common',
'spark-bukkit',
'spark-paper',
'spark-bungeecord',
'spark-velocity',
'spark-velocity4',
'spark-sponge7',
'spark-sponge8',
'spark-common',
'spark-fabric',
'spark-forge',
'spark-neoforge',
'spark-fabric',
'spark-nukkit',
'spark-waterdog',
//'spark-minestom', // disabled until minestom publish their maven artifacts to a proper repo
'spark-paper',
'spark-sponge',
'spark-velocity',
)
32 changes: 30 additions & 2 deletions spark-common/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'com.google.protobuf' version '0.9.4'
id 'maven-publish'
}

license {
Expand All @@ -14,7 +15,7 @@ dependencies {
implementation 'com.github.jvm-profiling-tools:async-profiler:v2.8.3'
implementation 'org.ow2.asm:asm:9.7'
implementation 'net.bytebuddy:byte-buddy-agent:1.14.17'
implementation 'com.google.protobuf:protobuf-javalite:4.27.1'
implementation 'com.google.protobuf:protobuf-javalite:4.28.2'

implementation('me.lucko:bytesocks-java-client:1.0-20230828.145440-5') {
exclude(module: 'slf4j-api')
Expand Down Expand Up @@ -60,7 +61,7 @@ dependencies {

protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:4.27.1'
artifact = 'com.google.protobuf:protoc:4.28.2'
}
generateProtoTasks {
all().each { task ->
Expand All @@ -77,3 +78,30 @@ test {
useJUnitPlatform {}
systemProperty('net.kyori.ansi.colorLevel', 'indexed16')
}

publishing {
//repositories {
// maven {
// url = 'https://oss.sonatype.org/content/repositories/snapshots'
// credentials {
// username = sonatypeUsername
// password = sonatypePassword
// }
// }
//}
//repositories {
// maven {
// url = 'https://nexus.lucko.me/repository/maven-snapshots/'
// credentials {
// username = luckoNexusUsername
// password = luckoNexusPassword
// }
// }
//}
publications {
maven(MavenPublication) {
from components.java
version = "${project.pluginVersion}-SNAPSHOT"
}
}
}
51 changes: 0 additions & 51 deletions spark-minestom/build.gradle

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4face76

Please sign in to comment.