GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: many new android features by farfromrefug · Pull Request #5774 · NativeScript/nativescript-cli

Conversation

@farfromrefug

@farfromrefug farfromrefug commented Dec 24, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Thought it was time to make that big PR. It is quite impossible now to divide everything as each part depends on the other.
I really hope we can make that work for everyone to enjoy the new features.
I ll try to list them all. Dont hesitate if you have questions

  • Gradle 8 support
  • App/plugins gradle files now included in the CLI and not the runtime. Easier to maintain and pave the way for a possible @nativescript/gradle plugin.
  • Build only abis of connected devices: Faster build, smaller build => faster installation. Very practical when working on devices like firetv
  • support custom build path. Essential for monorepo like projects building multiple apps from the same source code. Example project here https://github.com/Akylas/com.akylas.documentscanner
  • improved timeline JSON to be compatible with firefox
  • include the PR feat: add --json option to ns config #5773
  • include the PR feat: new syncChangedDataOnDevices #5772
  • include the PR feat(android): allow to force gradle version throught nativescript-co… #5764

TODO

There is one thing i would like to improve which is this. I commented on the reason why we need that.
Though i am sure we might find a better solution. The issue with the way i did it if that if new task are added (either tools update of maybe through plugin) that list will need to be update which is ugly. I already had to add tasks added by the sentry plugin...
Maybe @triniwiz you know a way to do it better. I know the reason is that by reading the buildMetada task (or the tasks it depends on like those handling jars) gradle thinks buildMetadata uses as an input the output of all those tasks. TBH i dont really understand fully the code of the buildMetadata task ...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

NathanWalker, vallemar, and MrSnoozles reacted with rocket emoji
All reactions
  • 🚀 3 reactions
farfromrefug and others added 30 commits May 7, 2021 17:05
@farfromrefug
feat: allow to ignore native dependencies
cb695e6
Along with that we simply need to have a cli parameter and an option in nativescript.config
@farfromrefug
merge
0005db5
@farfromrefug
Merge branch 'master' of github.com:NativeScript/nativescript-cli
66fc8b1
@farfromrefug
fix allow plugins to use kt files
ae75c50
@farfromrefug
fix: remove plugins duplicates
5c8db12
@farfromrefug
Merge branch 'master' of github.com:NativeScript/nativescript-cli
21a99d3
@farfromrefug
Merge branch 'master' of github.com:NativeScript/nativescript-cli
bca2b25
# Conflicts:
#	lib/services/plugins-service.ts
@farfromrefug
fix: update plugin gradle script
e019098
@farfromrefug
Merge branch 'master' of github.com:NativeScript/nativescript-cli
06a08b4
@rigor789
fix: require.resolve for packages with exports field in package.json
bafc35f
@farfromrefug
Merge branch 'NativeScript:master' into master
b8bd8f5
@farfromrefug
Merge pull request #1 from NativeScript/fix/require-resolve-with-exports
38d2fb4
fix: require.resolve for packages with exports field in package.json
@farfromrefug
Merge branch 'master' of github.com:farfromrefug/nativescript-cli
3066c6a
@farfromrefug
feat: allow plugin blacklist metadata
68e541c
@farfromrefug
fix: fix source map path
8ca0889
@farfromrefug
chore: refactoring
63a4620
@farfromrefug
fix: makes libs smaller and build faster
29439ca
see https://www.mobileit.cz/Blog/Pages/r-class.aspx
@farfromrefug
fix: remove unneeded R.class and BuildConfig.class for plugins
aa56395
can still be enabled with `generateBuildConfig` and `generateR`
@triniwiz
feat(android): add gradle 7+ support
e0c1824
@farfromrefug
Merge branch 'feat/gradle-7' of github.com:NativeScript/nativescript-cli
3dd3744
# Conflicts:
#	lib/services/log-source-map-service.ts
#	lib/services/metadata-filtering-service.ts
#	lib/services/test-execution-service.ts
#	vendor/gradle-plugin/build.gradle
@farfromrefug
chore: cleanup
9f66f72
@farfromrefug
Merge branch 'master' of github.com:NativeScript/nativescript-cli
7dc8bdc
# Conflicts:
#	lib/services/android-plugin-build-service.ts
#	vendor/gradle-plugin/build.gradle
@farfromrefug
fix: kotlin version fix
2fa7722
@farfromrefug
feat: --gradle option to specify custom gradle binary
0b55d42
@farfromrefug
fix: pass gradlePath to plugin build
2128946
@farfromrefug
fix: rename gradle option to gradlePath
8d1eba9
@farfromrefug
chore: upgraded yargs and typescript
d00c7ac
@farfromrefug
feat: implemented --gradle option to pass gradle parameters
78e88eb
@farfromrefug
fix: correctly allow plugins build to detect before-plugins.gradle
e8e39b4
and other gradle scripts
@farfromrefug
chore: cleanup logs
ac53b20
farfromrefug and others added 23 commits November 4, 2024 10:06
@farfromrefug
fix: regression fix after deps update
4bf3ba6
@farfromrefug
chore:vscode
132d5d9
@farfromrefug
chore: cli
0547133
@farfromrefug
chore: cli
bea9d93
Anka Anka
chore(release): 8.8.6
29d85ad
@farfromrefug
Merge remote-tracking branch 'nativescript/main'
42f9f77
# Conflicts:
#	CHANGELOG.md
#	lib/services/webpack/webpack-compiler-service.ts
#	package-lock.json
#	package.json
@farfromrefug
chore: lock
f4d19f9
Anka Anka
chore(release): 8.8.7
443bae3
@farfromrefug
fix: default log level to WARN. Fix for INFO log level not showing ac…
da64b1a
…tual info (was quiet)
@farfromrefug
chore: android gradle build process improvement
e32fe87
@farfromrefug
chore(android): more gradle build rules
2f9debb
@farfromrefug
chore(android): gradle scripts update
7fef61f
@farfromrefug
Merge remote-tracking branch 'nativescript/main'
cf61acb
# Conflicts:
#	CHANGELOG.md
#	lib/commands/config.ts
#	lib/common/helpers.ts
#	lib/common/logger/logger.ts
#	lib/controllers/prepare-controller.ts
#	lib/controllers/run-controller.ts
#	lib/definitions/project.d.ts
#	lib/services/ios-project-service.ts
#	lib/services/webpack/webpack-compiler-service.ts
#	package-lock.json
#	package.json
#	tsconfig.json
@farfromrefug
chore: fix after merge
ba9e812
@farfromrefug
fix: allow to enforce corePackageName to use custom
5d807ce
@farfromrefug
Merge remote-tracking branch 'upstream/main'
f46c90f
# Conflicts:
#	Gruntfile.js
#	lib/services/bundler/bundler.ts
#	lib/services/webpack/webpack-compiler-service.ts
#	package-lock.json
#	package.json
#	test/ios-project-service.ts
#	test/plugins-service.ts
#	test/project-changes-service.ts
#	test/services/android/gradle-build-args-service.ts
#	vendor/gradle-plugin/build.gradle
@farfromrefug
chore: fix after merge to support custom webpack plugin in place of @…
9fda013
…nativescript/webpack
@farfromrefug
chore: another fix after merge
0c51792
@farfromrefug
chore: limit filter to prevent being called for other projects minify…
8948c23
… like baseline
@farfromrefug
Merge branch 'main' into new_big_merge_test
78732ea
@farfromrefug
Merge remote-tracking branch 'nativescript/main'
d8088fa
# Conflicts:
#	lib/commands/build.ts
#	package-lock.json
#	package.json
#	vendor/aab-tool/bundletool.jar
#	vendor/gradle-plugin/build.gradle
@farfromrefug
Merge branch 'main' into new_big_merge_test
843df59
@farfromrefug
chore: revert removed file
6686227
github-advanced-security[bot]
github-advanced-security AI found potential problems Nov 13, 2025
View reviewed changes
Comment thread lib/services/android-project-service.ts Fixed

Uh oh!

There was an error while loading. Please reload this page.

@farfromrefug
chore: prevent native rebuild when building for universal
0183520
github-advanced-security[bot]
github-advanced-security AI found potential problems Nov 13, 2025
View reviewed changes
Comment thread lib/services/android-project-service.ts
(d) => d.deviceInfo.identifier === deviceDescriptor.identifier
)[0];
const abis = device.deviceInfo.abis.filter((a) => !!a && a.length)[0];
const regexp = new RegExp(`${abis}.*\.apk`);

Check failure

Code scanning / CodeQL

Useless regular-expression character escape High

The escape sequence '.' is equivalent to just '.', so the sequence may still represent a meta-character when it is used in a
regular expression
Error loading related location
Loading

Uh oh!

There was an error while loading. Please reload this page.

.
@farfromrefug

farfromrefug commented Nov 13, 2025

Copy link
Copy Markdown
Contributor Author

@NathanWalker bumping this trying to see if we could get this for 9.0. I updated the PR and fixed the remaining issues.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@farfromrefug
chore: revert change
cc7ddd2
@farfromrefug farfromrefug mentioned this pull request Dec 17, 2025
feat: generate plugin outputs into .plugins folder inside platforms/android #5937
Draft
@farfromrefug farfromrefug closed this Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@NathanWalker NathanWalker NathanWalker left review comments
@rigor789 rigor789 rigor789 requested changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@farfromrefug @NathanWalker @rigor789 @github-advanced-security @triniwiz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.