cljsrn

Benjamin 2022-03-17T19:35:08.161229Z

I tried making "AwesomeProject" work. How does it determine the gradle version? I do npx react-native run-android and get this:

zonotope 2022-03-23T11:35:25.522619Z

I'm getting the exact same error following the Krell Reagent Tutorial. Have you been able to find a fix?

Benjamin 2022-03-31T18:15:26.862889Z

@clojurians-slack100 @zonotope 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 rich ) Also make sure you use java 11 because this has bitten me a second time 😛

🙌 1
Benjamin 2022-03-31T18:42:54.040699Z

made a github issue https://github.com/vouch-opensource/krell/issues/148

walterl 2022-03-24T23:59:29.044739Z

I haven't (with Java 11) 😞

Benjamin 2022-03-17T19:36:26.786229Z

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?

Benjamin 2022-03-17T19:37:19.490649Z

https://reactnative.dev/docs/environment-setup#native this is what I mean with AwesomeProject

walterl 2022-03-17T21:40:05.215149Z

I'm https://clojurians.slack.com/archives/C0E1SN0NM/p1646342116072849, but haven't found a fix yet.

Benjamin 2022-03-18T18:05:19.821859Z

$ 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

Benjamin 2022-03-18T18:08:50.128969Z

one of the steps here https://github.com/vouch-opensource/krell/wiki/Reagent-Tutorial changes something though, so the gradle maven error appears