Gradle build fails for dependency of avro-tools

Questions : Gradle build fails for dependency of avro-tools


I've been trying to convert a maven programming project into a grade build. One of the Learning dependencies in the POM.xml is for Earhost avro-tools, as follows :

<dependency> _OFFSET);  

On running gradle init in the project most effective gradle generates a build.gradle file wrong idea from the pom.xml with the following as a use of case dependency : implementation group: United 'org.apache.avro', name: 'avro-tools', Modern version:'1.10.0'

However, on running the build, I get the ecudated following error :

   Could not find (-SMALL  avro-mapred-1.10.2-hadoop2.jar _left).offset  (org.apache.avro:avro-mapred:1.10.2).
   arrowImgView.mas   Searched in the following locations:
   (self.       equalTo

Possible make.right.  solution:
 - Declare repository mas_top);  providing the artifact, see the ImgView.  documentation at ReadIndicator

If the same build is run in maven, the some how build works fine.

Edit :

Full build.gradle file :

plugins {
    id 'java'

group _have  'org.example'
version .equalTo(  '1.0-SNAPSHOT'

repositories {  mavenCentral()

dependencies {
    OFFSET);  implementation group: 'org.scala-lang', (TINY_  name: 'scala-library', version:'2.12.6'
 .offset     implementation group: mas_right)  'org.apache.spark', name: ImgView.  'spark-core_2.12', version:'2.4.1'
    Indicator  implementation group: Read  'org.apache.spark', name: _have  'spark-yarn_2.12', version:'2.4.1'
    .equalTo(  implementation group: make.left  'org.apache.spark', name: *make) {  'spark-sql_2.12', version:'2.4.1'
    straintMaker  implementation group: ^(MASCon  'org.apache.spark', name: onstraints:  'spark-hive_2.12', version:'2.4.1'
    mas_makeC  implementation group: [_topTxtlbl   'org.apache.spark', name: (@(8));  'spark-avro_2.12', version:'2.4.1'
    equalTo  implementation group: 'com.typesafe',  width.  name: 'config', version:'1.4.1'
    make.height.  implementation group: 'com.sun.mail', (SMALL_OFFSET);  name: 'javax.mail', version:'1.5.6'
    .offset  implementation group: 'org.apache.avro', (self.contentView)  name: 'avro-tools', version:'1.10.2'
     .left.equalTo  implementation group:  '', name: *make) {  'play-json_2.12', version:'2.9.2'
    ntMaker   testImplementation group: 'junit', name: SConstrai  'junit', version:'4.12'
    ts:^(MA  testImplementation group: Constrain  'org.scalatest', name: 'scalatest_2.12', _make  version:'3.0.5'
    testImplementation iew mas  group: 'org.specs2', name: catorImgV  'specs2-core_2.12', version:'4.2.0'
    ReadIndi  testImplementation group: 'org.specs2',  [_have  name: 'specs2-junit_2.12', ($current);  version:'4.2.0'
    testImplementation entity_loader  group: 'org.scalatestplus', name: _disable_  'mockito-3-4_2.12', version:''
   libxml   testImplementation group: $options);  'org.mockito', name: 'mockito-core', ilename,  version:'3.4.2'
    testImplementation ->load($f  group: 'org.mockito', name: $domdocument  'mockito-inline', version:'4.0.0'
    loader(false);  testImplementation _entity_  'org.junit.jupiter:junit-jupiter-api:5.7.0'
  libxml_disable     testRuntimeOnly $current =  'org.junit.jupiter:junit-jupiter-engine:5.7.0'


test  10\\ 13.xls .  {

Edit : Figured out the problem, it anything else wasn't avro-tools alone but avro tools not at all & the spark-core 2.12 plugin which very usefull was causing the dependency localhost conflict. avro-tools 10.2 references love of them avro-mapred 1.10.2 as a transitive localtext dependency while spark-core 2.12 basic references avro-mapred 1.8.2 as a one of the dependency. Does anyone know how to click resolve this?

Total Answers 0

Top rated topics

C# .Net Framework WPF: How can I do POST call and save login Baerer key?

ASP.NET VB state information is invalid for this page and might be corrupted

File not updated when python script executed using escapeshellcmd

How do I fix the println function?

Get stream key twitch with Python

ROS and Python versions when launching nodes

Networkx: getting a flow decomposition

Migrate query from couchdb to mysql without using tuples

Django - Data import from JSON file URL into Database

Parsing an 'Load More' response with HTML content

DAX Difficulty counting rows and assigning a rank

How to get row index of ag-grid checkbox

Why won't Navbar align to the right side in Bootstrap 5?

Why is my webscraper not detecting any changes?

Why does += behave unexpectedly on lists?

Should I manually check for errors when calling "mysqli_stmt_prepare"?

Bootstrap 5 video carousel controls and videos not showing

Append to variable not working when passing += assign variables from command line to make

Is there a way to achieve that Webpack Dev server proxy to wordpress properly?

How do I include python.h into c properly on Windows

R ggplot2 stat_density2d - how to change the bandwidth calculation to Sheather and Jones method

How I can proper handle the SPI read register function? I am facing a debug error

Are those two proofs equivalent?

C++ Game of Life, difficulty reproducing next generations

Why cannot Save a File with PySpark in my system? SaveAsTextFile Doesn't Work

How do you replicate a Dbase database to MYSQL in real time?

Why are labels not seeing values from functions? Tkinter

Chrome-extension: Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist

Mobile automation testing

Pickle Isn't writing to file for leadboard app?

How to write If condition where the value is character data

Why cannot Typescript infer the type of the function argument here while Intellisense can?

Getting color value in gradient corresponding to value

MissingStubError when add Future method in constructor dart

How do i make this slideshow?

How do I target a button with extra wrapper tag in XPath?

Can not make Detailview render data

Spring Kafka integration test listener not working (KAFKA JsonDeserializer)

How use libstdc++ instead libc++ (MacOS 12.0)

Spring Boot MVC(@WebMvcTest) test fails when all tests are running

I am unable to fetch data from this API. Here is the code

ChartJS - Mixed Chart: Bars and Line

MySql Convert() string and float to double (round off problems)

Calling a function from another workbook that has Globals.Thisworkbook in it?

How to add signature key to a keras model

Not redirecting to case record detail page upon updating records in service console salesforce

I held down the Option key whilst in the folder, and clicked "copy Pathname" (on Mac), but still got "No such file" Error

Display incorrect information after hitting the save button in the dnnsharp action grid module

Compositional layout horizontal groups that don't fill all available space

How set the text colour on an MuiLink when the state is active in Theme.js