This message was deleted.
# community-support
s
This message was deleted.
m
does the Kotlin version make it clearer that the initial
configurations { instrumentedJars { ... } }
creates a configuration?
s
ok that does clarify things a bit, but i'm still confused would a project include the code provided in all the examples? or just example 1 plus one of 2, 3 or 4
m
I would have hoped the docs were clear enough that you need 1 to 5.
s
this part confused me:
Copy code
If it's not the case, you will need to explicitly declare how the artifact is generated.

Example 3. Explicitly declaring the task dependency of an artifact
it seems like you do example 2 sometimes but example 3
if it's not the case...
but if you're saying all examples are needed together, i think that helps, let me chew on it
m
Right. It basically tells you that if the artifact you build is not from an
AbstractArchiveTask
then you need 3, otherwise not.
so basically if you use a
Jar
task you can skip 3