I am getting error while building real time SDK
* Where:
Build file 'C:\Users\UC506523\Desktop\Real-Time-SDK-2.0.7.L2.java\Real-Time-SDK-2.0.7.L2.java\setup\RTSDK-2.0.7.L2.java.rrg\RTSDK-2.0.7.L2.java
.rrg\Java\build.gradle' line: 13
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 30s
My build,gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'net.saliman:gradle-cobertura-plugin:4.0.0'
}
}
plugins {
id('net.saliman.cobertura') version '4.0.0'
id('de.undercouch.download') version '4.1.2'
}
/*plugins {
id "net.saliman.cobertura" version "4.0.0"
id "de.undercouch.download" version "4.1.2"
}*/
//apply plugin: 'net.saliman.cobertura'
apply plugin: net.saliman.gradle.plugin.cobertura.CoberturaPlugin
Best Answer
-
Hello @saimahesh.mummaneni
Thank you for the file. I suggest you contact the RTSDK team directly to verify the issue. You can contact them via "Contact premium support" on the RTSDK Java page or the RTSDK GitHub Issue page.
I can build the RTSDK 2.0.7.L2 with your build.gradle file in my machine.
My machine setting is as follows:
- Windows 10
- JDK 11
- Gradle 7.6.1 (Gradle Wrapper version 7.3.3)
Note: I have requested ZScaler support to grant Gradle and Maven access to my machine.
Can you try on other machines that do not have ZScaler or a firewall that blocks Gradle?
0
Answers
-
Hello @saimahesh.mummaneni
Thank you for contacting us.
I highly recommend you try the gradlew build or gradlew jar commands with the original version of the build.gradle file.
The RTSDK's build.gradle file(s) contains a lot of settings and dependencies to support the RTSDK multi APIs and example codes. If you want to modify the RTSDK's build.gradle file for a specific purpose, I highly recommend you contact the Development team directly via the RTSDK GitHub - Issue page.
0 -
Hi @wasin.w , even I tried with original version with gradlew build command but still same issue
C:\Users\UCXXXX\Desktop\Real-Time-SDK-master\Real-Time-SDK-master\Java>gradlew build
Starting a Gradle Daemon, 3 incompatible Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\UC506523\Desktop\Real-Time-SDK-master\Real-Time-SDK-master\Java\build.gradle' line: 15
* What went wrong:
Plugin [id: 'net.saliman.cobertura', version: '4.0.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'net.saliman.cobertura:net.saliman.cobertura.gradle.plugin:4.0.0')
Searched in the following repositories:
Gradle Central Plugin Repository
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 14s
0 -
Hello @saimahesh.mummaneni
I am sorry to hear that you are facing the issue.
Can you rename your "build.gradle" file to "build.gradle.txt" and share it on this post?
I am sharing my default RTSDK 2.0.7 main build.gradle file which works fine on my end.
Based on the "Plugin [id: 'net.saliman.cobertura', version: '4.0.0'] was not found in any of the following sources:" error message, it seems Gradle in your machine cannot access or download dependency.
Can you try the gradlew build --refresh-dependencies (or gradlew build --refresh-dependencies -x test) command to Gradle to ignore all cached and redownload dependencies?
Another possible issue is your network might block a connection between Gradle and Repository (Maven Central), if this is the case, you need to contact IT team.
Alternatively, you may contact the RTSDK development team directly via RTSDK GitHub - Issue page to verify the build script.
0 -
Even though I tried with above command getting same error
0 -
Hi @wasin.w , My issue got resolved. Thanks lot for your help.0
-
On a separate note, is it possible to request access Real-Time-SDK-2.1.1.L1.java.zip? I was able to request access for earlier version but not the latest this year? Has there been change in the access permission for my account? Thanks in advance.
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛