René's URL Explorer Experiment


Title: Upgrade Nativescript gradle version to the latest · Issue #5370 · NativeScript/NativeScript · GitHub

Open Graph Title: Upgrade Nativescript gradle version to the latest · Issue #5370 · NativeScript/NativeScript

X Title: Upgrade Nativescript gradle version to the latest · Issue #5370 · NativeScript/NativeScript

Description: Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo? I searched for Gradle issues and read a lot of them. It did not answer my question/problem. Tell us about the problem I hav...

Open Graph Description: Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo? I searched for Gradle issues and read a lot of them. It did not answer my question/...

X Description: Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo? I searched for Gradle issues and read a lot of them. It did not answer my question/...

Opengraph URL: https://github.com/NativeScript/NativeScript/issues/5370

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Upgrade Nativescript gradle version to the latest","articleBody":"### Did you verify this is a real problem by searching the [NativeScript Forum](http://forum.nativescript.org) and the [other open issues in this repo](https://github.com/NativeScript/nativescript/issues)?\r\nI searched for Gradle issues and read a lot of them.  It did not answer my question/problem.\r\n\r\n### Tell us about the problem\r\nI have an application that uses a plugin that depends on a few Android libraries from an external source.  Those libraries were compiled with Java 8, Android Gradle Plugin 3.0.1, and Gradle 4.4.  The min sdk is 21 and the target is 27.\r\n\r\nIn my nativescript app, I can get those library dependencies brought into the apk by putting them in my plugin's include.gradle.  The issue though is that when I build the app I get this error:\r\n\r\nDex: Error converting bytecode to dex:\r\nCause: Dex cannot parse version 52 byte code.\r\nThis is caused by library dependencies that have been compiled using Java 8 or above.\r\nIf you are using the 'java' gradle plugin in a library submodule add \r\ntargetCompatibility = '1.7'\r\nsourceCompatibility = '1.7'\r\n\r\nThis error is remedied by using the Jack compiler option in my app.gradle and the source and target compatibility set to Java 1.8:\r\n\r\nandroid {\r\n  compileSdkVersion 27\r\n  defaultConfig {  \r\n...\r\n    minSdkVersion 24\r\n    jackOptions {\r\n        enabled true\r\n    }\r\n  }  \r\n  aaptOptions {  \r\n    additionalParameters \"--no-version-vectors\"\r\n  }\r\n  \r\n  compileOptions.with {\r\n      sourceCompatibility = JavaVersion.VERSION_1_8\r\n      targetCompatibility = JavaVersion.VERSION_1_8\r\n  }\r\n} \r\n\r\n\r\nI have a requirement to be able to support this app on sdk 21+.  But due to the use of the Jack compiler option, it won't allow me to use anything before 24.  I would not have this issue if I could use a newer version of gradle to build the Nativescript app.  It seems that Nativescript uses 2.3.3.  But I need 3+.\r\n\r\nIs there a way to change this?  I tried with a classpath dependency but the issue there is that the build.gradle file that gets generated for platforms/android has methods in it that are no longer available in Gradle 3.  I need to be able to use the latest version of the Android Gradle plugin to build my app.\r\n\r\n### Which platform(s) does your issue occur on?\r\nAndroid\r\n\r\n### Please provide the following version numbers that your issue occurs with:\r\n- CLI: 3.4.0\r\n- Cross-platform modules: 3.4.0\r\n- Runtime(s): 3.4.1\r\n- Plugin(s): My plugin uses 3.4.0 cross platform.\r\n\r\n### Please tell us how to recreate the issue in as much detail as possible.\r\nBuild a Nativescript app for Android and see that Gradle 2.3.3 is used.\r\n\r\n\r\n","author":{"url":"https://github.com/RVEIII","@type":"Person","name":"RVEIII"},"datePublished":"2018-02-01T19:40:39Z","url":"https://github.com/NativeScript/NativeScript/issues/5370"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3b88ce0c-1fe7-4860-04db-ac94a38e364c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB8AE:38E318:DD20C3:11686D4:6B013E32
html-safe-nonce76185bb1952c0e5816e19ee817c8b9dc1021b4f50d971ea88c31a7fbde9d0b83
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEFFOjM4RTMxODpERDIwQzM6MTE2ODZENDo2QjAxM0UzMiIsInZpc2l0b3JfaWQiOiI1NTg5NTY0NDU3NjQzNzUzMDEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac72f725bc3039ee5bc9884f1d1a81e3ee55c897f55400575288394c756c26b9a2
hovercard-subject-tagissue:293657917
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/5370/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1cfb1b8ef2a9028da21dc2f5e1bac739f0f0a64de1b73a3fb03c5c78dcbd8627/NativeScript/NativeScript/issues/5370
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1cfb1b8ef2a9028da21dc2f5e1bac739f0f0a64de1b73a3fb03c5c78dcbd8627/NativeScript/NativeScript/issues/5370
og:image:altDid you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo? I searched for Gradle issues and read a lot of them. It did not answer my question/...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRVEIII
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/issues/5370#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F5370
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F5370
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/issues/5370
Reloadhttps://github.com/NativeScript/NativeScript/issues/5370
Reloadhttps://github.com/NativeScript/NativeScript/issues/5370
NativeScripthttps://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Codehttps://github.com/NativeScript/NativeScript
Issues231 (231)https://github.com/NativeScript/NativeScript/issues
Pull requests107 (107)https://github.com/NativeScript/NativeScript/pulls
Discussionshttps://github.com/NativeScript/NativeScript/discussions
Actionshttps://github.com/NativeScript/NativeScript/actions
Projectshttps://github.com/NativeScript/NativeScript/projects
Wikihttps://github.com/NativeScript/NativeScript/wiki
Security and qualityhttps://github.com/NativeScript/NativeScript/security
Insightshttps://github.com/NativeScript/NativeScript/insights
https://github.com/NativeScript/NativeScript
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/5370
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/5370
Upgrade Nativescript gradle version to the latesthttps://github.com/NativeScript/NativeScript/issues/5370#top
os: androidhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
https://github.com/RVEIII
RVEIIIhttps://github.com/RVEIII
on Feb 1, 2018https://github.com/NativeScript/NativeScript/issues/5370#issue-293657917
NativeScript Forumhttp://forum.nativescript.org
other open issues in this repohttps://github.com/NativeScript/nativescript/issues
NickIlievhttps://github.com/NickIliev
os: androidhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
on Feb 2, 2018https://github.com/NativeScript/NativeScript/issues/5370#event-1454475760
https://github.com/NickIliev
NickIlievhttps://github.com/NickIliev
on Feb 2, 2018https://github.com/NativeScript/NativeScript/issues/5370#issuecomment-362498023
NativeScript/android#938https://github.com/NativeScript/android/issues/938
NickIlievhttps://github.com/NickIliev
completedhttps://github.com/NativeScript/NativeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 2, 2018https://github.com/NativeScript/NativeScript/issues/5370#event-1454477135
https://github.com/apps/lock
lockhttps://github.com/apps/lock
on Aug 27, 2019https://github.com/NativeScript/NativeScript/issues/5370#issuecomment-525229579
lockhttps://github.com/apps/lock
on Aug 27, 2019https://github.com/NativeScript/NativeScript/issues/5370#event-2586479885
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/NativeScript/issues/5370
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/5370
os: androidhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.