René's URL Explorer Experiment


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

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

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

Description: From @RVEIII on February 1, 2018 19:40 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/p...

Open Graph Description: From @RVEIII on February 1, 2018 19:40 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 ...

X Description: From @RVEIII on February 1, 2018 19:40 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 ...

Opengraph URL: https://github.com/NativeScript/android/issues/938

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":"_From @RVEIII on February 1, 2018 19:40_\r\n\r\n### 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\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\r\n\r\n_Copied from original issue: NativeScript/NativeScript#5370_","author":{"url":"https://github.com/NickIliev","@type":"Person","name":"NickIliev"},"datePublished":"2018-02-02T06:24:13Z","url":"https://github.com/NativeScript/android/issues/938"}

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:1c45e67f-55c6-9314-d55c-2db15f8a48c8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9CA2:395430:18990EC:2071D0D:6B013C4D
html-safe-noncec9c2cb84264a5456a50ef2549944b57a0f3701b2935e007747e991823d9bbe50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0EyOjM5NTQzMDoxODk5MEVDOjIwNzFEMEQ6NkIwMTNDNEQiLCJ2aXNpdG9yX2lkIjoiNzY5NDUyNzEyOTUyNjc1NDA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6f3fa43bc93d5f94ad218b60f5251bf6dd004c102e3dd194d10b3a0d12fb3d1f
hovercard-subject-tagissue:293785760
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/android/938/issue_layout
twitter:imagehttps://opengraph.githubassets.com/649a0144d9980dad060582776e707ffc0d6e470cbbd6fe3e8cd641f575f3a7b6/NativeScript/android/issues/938
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/649a0144d9980dad060582776e707ffc0d6e470cbbd6fe3e8cd641f575f3a7b6/NativeScript/android/issues/938
og:image:altFrom @RVEIII on February 1, 2018 19:40 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 ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameNickIliev
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/android git https://github.com/NativeScript/android.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id29137950
octolytics-dimension-repository_nwoNativeScript/android
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id29137950
octolytics-dimension-repository_network_root_nwoNativeScript/android
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/android/issues/938#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fandroid%2Fissues%2F938
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%2Fandroid%2Fissues%2F938
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%2Fandroid
Reloadhttps://github.com/NativeScript/android/issues/938
Reloadhttps://github.com/NativeScript/android/issues/938
Reloadhttps://github.com/NativeScript/android/issues/938
NativeScripthttps://github.com/NativeScript
androidhttps://github.com/NativeScript/android
Codehttps://github.com/NativeScript/android
Issues106 (106)https://github.com/NativeScript/android/issues
Pull requests24 (24)https://github.com/NativeScript/android/pulls
Actionshttps://github.com/NativeScript/android/actions
Projectshttps://github.com/NativeScript/android/projects
Wikihttps://github.com/NativeScript/android/wiki
Security and qualityhttps://github.com/NativeScript/android/security
Insightshttps://github.com/NativeScript/android/insights
https://github.com/NativeScript/android
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/android/issues/938
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/android/issues/938
Upgrade Nativescript gradle version to the latesthttps://github.com/NativeScript/android/issues/938#top
https://github.com/Plamen5kov
featurehttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22feature%22
4.0.0https://github.com/NativeScript/android/milestone/27
https://github.com/NickIliev
NickIlievhttps://github.com/NickIliev
on Feb 2, 2018https://github.com/NativeScript/android/issues/938#issue-293785760
@RVEIIIhttps://github.com/RVEIII
NativeScript Forumhttp://forum.nativescript.org
other open issues in this repohttps://github.com/NativeScript/nativescript/issues
NativeScript/NativeScript#5370https://github.com/NativeScript/NativeScript/issues/5370
NickIlievhttps://github.com/NickIliev
os: androidhttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
on Feb 2, 2018https://github.com/NativeScript/android/issues/938#event-1454476964
petekanevhttps://github.com/petekanev
questionhttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22question%22
os: androidhttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
on Feb 2, 2018https://github.com/NativeScript/android/issues/938#event-1454569483
https://github.com/Plamen5kov
Plamen5kovhttps://github.com/Plamen5kov
on Feb 5, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363002132
@RVEIIIhttps://github.com/RVEIII
https://github.com/RVEIII
RVEIIIhttps://github.com/RVEIII
on Feb 5, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363243998
@Plamen5kovhttps://github.com/Plamen5kov
https://github.com/Plamen5kov
Plamen5kovhttps://github.com/Plamen5kov
on Feb 6, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363349451
@RVEIIIhttps://github.com/RVEIII
this branchhttps://github.com/NativeScript/android-runtime/tree/plamen5kov/revert
Plamen5kovhttps://github.com/Plamen5kov
featurehttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22feature%22
on Feb 6, 2018https://github.com/NativeScript/android/issues/938#event-1459596481
Plamen5kovhttps://github.com/Plamen5kov
on Feb 6, 2018https://github.com/NativeScript/android/issues/938#event-1459596663
Plamen5kovhttps://github.com/Plamen5kov
in progresshttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22in%20progress%22
on Feb 6, 2018https://github.com/NativeScript/android/issues/938#event-1459597190
Plamen5kovhttps://github.com/Plamen5kov
on Feb 6, 2018https://github.com/NativeScript/android/issues/938#event-1459597597
https://github.com/RVEIII
RVEIIIhttps://github.com/RVEIII
on Feb 6, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363446700
@Plamen5kovhttps://github.com/Plamen5kov
https://github.com/petekanev
petekanevhttps://github.com/petekanev
on Feb 6, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363447615
@RVEIIIhttps://github.com/RVEIII
build instructionshttps://github.com/NativeScript/android-runtime#how-to-build
petekanevhttps://github.com/petekanev
questionhttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22question%22
on Feb 6, 2018https://github.com/NativeScript/android/issues/938#event-1460291297
https://github.com/RVEIII
RVEIIIhttps://github.com/RVEIII
on Feb 6, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363559238
@Plamen5kovhttps://github.com/Plamen5kov
https://github.com/Plamen5kov
Plamen5kovhttps://github.com/Plamen5kov
on Feb 7, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363680788
@RVEIIIhttps://github.com/RVEIII
https://github.com/RVEIII
RVEIIIhttps://github.com/RVEIII
on Feb 7, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363774951
@Plamen5kovhttps://github.com/Plamen5kov
https://github.com/petekanev
petekanevhttps://github.com/petekanev
on Feb 7, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363778898
@RVEIIIhttps://github.com/RVEIII
https://github.com/RVEIII
RVEIIIhttps://github.com/RVEIII
on Feb 7, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363781269
https://github.com/petekanev
petekanevhttps://github.com/petekanev
on Feb 7, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363784210
@RVEIIIhttps://github.com/RVEIII
https://github.com/RVEIII
RVEIIIhttps://github.com/RVEIII
on Feb 7, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363791612
https://github.com/petekanev
petekanevhttps://github.com/petekanev
on Feb 7, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363796628
@RVEIIIhttps://github.com/RVEIII
this commithttps://github.com/NativeScript/android-runtime/commit/06af32d9af85ad4cadde94e8ef452ab0f57f4b29
https://github.com/NativeScript/nativescript-cli/blob/3064e0d3a452fa708adde255ebca17b2c31bb159/lib/services/android-project-service.ts#L90https://github.com/NativeScript/nativescript-cli/blob/3064e0d3a452fa708adde255ebca17b2c31bb159/lib/services/android-project-service.ts#L90
https://github.com/RVEIII
RVEIIIhttps://github.com/RVEIII
on Feb 7, 2018https://github.com/NativeScript/android/issues/938#issuecomment-363801939
Plamen5kovhttps://github.com/Plamen5kov
ready for testhttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22ready%20for%20test%22
in progresshttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22in%20progress%22
on Mar 8, 2018https://github.com/NativeScript/android/issues/938#event-1510731563
https://github.com/Natalia-Hristova
Natalia-Hristovahttps://github.com/Natalia-Hristova
on Mar 8, 2018https://github.com/NativeScript/android/issues/938#issuecomment-371527381
Natalia-Hristovahttps://github.com/Natalia-Hristova
completedhttps://github.com/NativeScript/android/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 8, 2018https://github.com/NativeScript/android/issues/938#event-1511414735
Natalia-Hristovahttps://github.com/Natalia-Hristova
ready for testhttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22ready%20for%20test%22
on Mar 8, 2018https://github.com/NativeScript/android/issues/938#event-1511421260
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/android/issues/938
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/android/issues/938
Plamen5kovhttps://github.com/Plamen5kov
featurehttps://github.com/NativeScript/android/issues?q=state%3Aopen%20label%3A%22feature%22
4.0.0https://github.com/NativeScript/android/milestone/27
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.