This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-17
Channels
- # announcements (6)
- # babashka (2)
- # babashka-sci-dev (1)
- # beginners (74)
- # calva (3)
- # cider (33)
- # clj-kondo (19)
- # cljsrn (10)
- # clojure (75)
- # clojure-dev (11)
- # clojure-europe (39)
- # clojure-italy (1)
- # clojure-nl (1)
- # clojure-spec (4)
- # clojure-uk (6)
- # clojurescript (139)
- # code-reviews (8)
- # core-typed (7)
- # data-science (1)
- # docs (2)
- # emacs (11)
- # events (1)
- # introduce-yourself (8)
- # lsp (4)
- # malli (10)
- # off-topic (15)
- # pedestal (5)
- # podcasts (4)
- # polylith (18)
- # re-frame (6)
- # react (1)
- # reagent (18)
- # reitit (6)
- # releases (2)
- # rewrite-clj (1)
- # spacemacs (15)
- # sql (2)
- # vscode (5)
I tried making "AwesomeProject" work. How does it determine the gradle version? I do npx react-native run-android
and get this:
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
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/home/benj/repos/clojure/CljsRnDemo/node_modules/react-native-tcp-socket/android/build.gradle' line: 23
* What went wrong:
A problem occurred evaluating project ':react-native-tcp-socket'.
> Plugin with id 'maven' not found.
* 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.
somehow maven plugin go removed with gradle 7 or something.
Should I manually try to pick a gradle version that works?https://reactnative.dev/docs/environment-setup#native this is what I mean with AwesomeProject
I'm https://clojurians.slack.com/archives/C0E1SN0NM/p1646342116072849, but haven't found a fix yet.
$ export JAVA_HOME=/lib/jvm/java-11-openjdk/ $ npx react-native run-android not sure if it's the same error, but with the complete "vanilla" AwesomeProject it works for me when I use java 11
one of the steps here https://github.com/vouch-opensource/krell/wiki/Reagent-Tutorial changes something though, so the gradle maven error appears
I'm getting the exact same error following the Krell Reagent Tutorial. Have you been able to find a fix?
@UJY23QLS1 @U3JRSLB1R tldr
yarn add react-native-tcp-socket
it works if the package is on this version:
"react-native-tcp-socket": "^5.6.0"
the Awesome template uses gradle 7 and the krell deps or something add a version of this tcp module that uses something deprecated ("maven plugin"). (broken, man 
made a github issue https://github.com/vouch-opensource/krell/issues/148