Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11698

Gradle problems in Debian

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Olek Wojnar <olek@debian.org>
Newsgroups linux.debian.maint.java
Subject Gradle problems in Debian
Date Fri, 19 Jun 2020 10:50:01 +0200
Message-ID <AjkSJ-BA-5@gated-at.bofh.it> (permalink)
X-Original-To Debian Java List <debian-java@lists.debian.org>
X-Mailbox-Line From debian-java-request@lists.debian.org Fri Jun 19 08:45:09 2020
Old-Return-Path <olekw.dev@gmail.com>
X-Amavis-Spam-Status No, score=-4.397 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-qt1-f182.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=11lGHSei3h7R73eM5qfcnIssTS0Bp4p1SkjDtorHqD0=; b=FTV5gY1Caa7ckY+9AaE6+vX7wKSS4Z/WLVEag6JwCUut/lHh6LbFoQua5gZNciwWBs k7qG/bf8LsTp+nhH6ohf+a9hgvPRDckpSb90OXYPJ8BC7Dq4fdE+BL+sEQ38lUJhIh/B Naa9OQBlt5ZZVr0RVzqKfZVmqgMd0oR5FtaHGP2VBxrkHJlkKsLDNG3Y6lB3Icb8jk0t t1UCPQ7eMMLwYCLxH+3bete4jD1ekffCkLOrmxzoMFqiQVhkebDsIW1TSubNyW7wHC0/ 0BqmaK8MMzsRtMYjAXAsGAesvUx98/98fnMh/7SFiLqLaezSXwH6DWrivxe3gu2WFaC3 G4DQ==
X-Gm-Message-State AOAM530phdNTnCOdXlBfnxs9vNMmzbgjfcnDgJ3k2b/ZN7I29H5wDT/Z rkSpdsWVI62cM89hhRcuEH8dzqWJ
X-Google-SMTP-Source ABdhPJwsjVSXLupzot6rym31nde0iXlgwbeWwF2TRnEmv52FNUXMK9Kv5GcMsWrBUiDPyTkLfzAVWQ==
X-Received by 2002:ac8:19cb:: with SMTP id s11mr2187105qtk.105.1592555250789; Fri, 19 Jun 2020 01:27:30 -0700 (PDT)
X-Received by 2002:a05:620a:8d2:: with SMTP id z18mr2289939qkz.156.1592555250141; Fri, 19 Jun 2020 01:27:30 -0700 (PDT)
MIME-Version 1.0
X-Gmail-Original-Message-ID <CAJj0crRWpWqPUCjYyG6039u9YX=fgkrpcchQGde3yBK7WAx7sA@mail.gmail.com>
Content-Type multipart/alternative; boundary="000000000000f84d2a05a86ba96b"
X-Mailing-List <debian-java@lists.debian.org> archive/latest/22279
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/CAJj0crRWpWqPUCjYyG6039u9YX=fgkrpcchQGde3yBK7WAx7sA@mail.gmail.com
Approved robomod@news.nic.it
Lines 76
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 19 Jun 2020 04:29:02 -0400
X-Original-Message-ID <CAJj0crRWpWqPUCjYyG6039u9YX=fgkrpcchQGde3yBK7WAx7sA@mail.gmail.com>
Xref csiph.com linux.debian.maint.java:11698

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Java Maintainers,

Has anyone been able to successfully use Gradle for Debian packaging? I am
finding the experience an exercise in extreme frustration....

For example, I have been trying to build grpc-java and it needs the Gradle
Protobuf plugin ("com.google.protobuf"). Seems simple enough, right? But
no, it's not. First of all, the gradle-plugin-protobuf package that seems
like it should provide this plugin instead
provides "ws.antonov.gradle.plugins.protobuf.ProtobufPlugin" although I had
to dig through the jar file to find that. I'm assuming that's the plugin
name since it's listed in META-INF/gradle-plugins/protobuf.properties as
"implementation-class". However, when I replace
    apply plugin: "com.google.protobuf"
with
    apply plugin: "ws.antonov.gradle.plugins.protobuf.ProtobufPlugin"
Gradle continues to give me:
    * What went wrong:
    A problem occurred evaluating project ':grpc-compiler'.
    > Plugin with id 'ws.antonov.gradle.plugins.protobuf.ProtobufPlugin'
not found.

Does anyone have any suggestions on how I can get this working?? It appears
that gradle-plugin-protobuf has no reverse depends so I couldn't even check
to see how someone else got it working... I'm wondering if they gave up.
I'm regretting trying to use Gradle in the first place and thinking I
should have just downloaded source jars from Maven Central and built the
package from those...

Side note: grpc-java also supports building with Bazel and, looking at the
build files, this seems to be a much simpler process. Unfortunately, I'm
doing all this so that we can package Bazel in the first place so that
doesn't really help....

Thanks in advance if anyone can shed light on this...

-Olek

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar


Thread

Gradle problems in Debian Olek Wojnar <olek@debian.org> - 2020-06-19 10:50 +0200
  Re: Gradle problems in Debian Vincent Prat <vinceprat@free.fr> - 2020-06-20 11:40 +0200
    Re: Gradle problems in Debian Olek Wojnar <olek@debian.org> - 2020-06-21 10:40 +0200

csiph-web