@icedquinn I actually havent worked with gradle in a few years. I usually use maven myself. Whats broken, I can try to help.

@freemo well for starters the syntax is invalid.

> Line 2: 'java-library'
> ^ Too many characters in a character literal ''java-library''

that's easy enough to fix by changing the quotes, but then that still kerplodes

> ^ Expression 'java' cannot be invoked as a function. The function 'invoke()' is not found

looks like whoever wrote these docs scuffed it utterly

@icedquinn Hold on, those errors mean nothing to me if i dont know what you did from the docs that got you those errors... like whats the exact command your running and what does your gradle file look like?

@freemo it looks exactly like copying and pasting the template shown in to the file, and running gradle. :neocat_woozy:

i did replace the single quotes with double quotes to make them valid strings.

@icedquinn I assume you mean the template in the intro (there is more than one)... ok let me try here locally.

@icedquinn

So i jsut tried it, changed nothing, not even the quotes, and it worked fine for me. try the groovy version not the kotlin one thts the standard way

@freemo
> the standard way
it isn't; 8.x is pushing kotlin :blobcatupsidedown:
Follow

@icedquinn

Cant help with that, if i try running kotlin i get totally different errors, so clearly kotlin isnt ready for prime time.

Β· Β· 1 Β· 0 Β· 0
@freemo oh god nvm i figured it out. they're backticks :blobcatgooglynotlikethis:
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.