import org.cadixdev.gradle.licenser.LicenseExtension plugins { id 'com.google.protobuf' version '0.9.1' } license { exclude '**/sampler/async/jfr/**' } extensions.configure(LicenseExtension.class) { it.exclude { it.file.toString().startsWith(buildDir.toString()) } } dependencies { api project(':spark-api') implementation 'com.github.jvm-profiling-tools:async-profiler:v2.8.3' implementation 'org.ow2.asm:asm:9.1' implementation 'net.bytebuddy:byte-buddy-agent:1.11.0' implementation 'com.google.protobuf:protobuf-javalite:3.21.11' implementation 'me.lucko:bytesocks-java-client-api:1.0-SNAPSHOT' implementation 'com.neovisionaries:nv-websocket-client:2.14' api('net.kyori:adventure-api:4.12.0') { exclude(module: 'adventure-bom') exclude(module: 'checker-qual') exclude(module: 'annotations') } api('net.kyori:adventure-text-serializer-gson:4.12.0') { exclude(module: 'adventure-bom') exclude(module: 'adventure-api') exclude(module: 'gson') } api('net.kyori:adventure-text-serializer-legacy:4.12.0') { exclude(module: 'adventure-bom') exclude(module: 'adventure-api') } implementation('net.kyori:adventure-text-feature-pagination:4.0.0-SNAPSHOT') { exclude(module: 'adventure-api') } compileOnly 'com.google.code.gson:gson:2.7' compileOnly 'com.google.guava:guava:19.0' compileOnly 'org.checkerframework:checker-qual:3.8.0' } protobuf { protoc { artifact = 'com.google.protobuf:protoc:3.21.11' } generateProtoTasks { all().each { task -> task.builtins { java { option 'lite' } } } } }