#Protobuf Proto source set not added

3 messages · Page 1 of 1 (latest)

full hamlet
#

Hi I am trying to import some proto files with gradle but I have added the plugin and the proto source set is still not recognized and nothing works:

plugins {
    `astraunot-kotlin`

    id("com.google.protobuf") version "0.9.4"
}

group = "net.astraunot.api.central"
version = "1.0.1"

repositories {
    mavenCentral()
}

val protobufVersion = "4.26.1"
dependencies {
    implementation("com.google.protobuf:protobuf-kotlin:$protobufVersion")
    implementation("com.google.protobuf:protobuf-java-util:$protobufVersion")
}
trail duneBOT
#

This post has been reserved for your question.

Hey @full hamlet! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.