Commit Graph

5 Commits

Author SHA1 Message Date
Alexey Tsvetkov
8eeb0db771 Create destination dir if it does not exist (#1438)
Otherwise DownloadAction might assume,
that the destination is actually a file,
when just one file is requested
(which is true for some POM only compose modules)
2021-11-22 15:11:09 +03:00
Alexey Tsvetkov
3cc961ead3 Fix build helpers (#1424)
* Fix relocation of download task

* Fix environment variable typo

* Update build-helpers
2021-11-22 10:09:27 +03:00
Alexey Tsvetkov
588ad2c8c0 Fix build helpers publishing (#1416)
* Fix compatibility with Intellij 2021.3

Resolves #1373

* Use Java reflection

* Set Java source & target compatibility for build helpers

Otherwise, Gradle might set Gradle metadata attributes in such way,
that transitive dependencies of published modules are not resolved

* Configure shadow jar manually

Applying plugin configures additional publication,
so that both .jar and -shadow.jar are published,
and additional configurations are added to Gradle metadata.

To avoid unexpected metadata resolution results,
ShadowJar task is now configured manually

* Fix closeStagingRepo JSON request

* Update publishing build-helpers in compose
2021-11-18 13:00:54 +03:00
Alexey Tsvetkov
9f2d767492 Fix auto closing of maven central repo (#1402)
Also remove automatic drop on error.
We are not using it,
and I'm not sure if it's a good idea anyway.
2021-11-15 15:59:21 +03:00
Alexey Tsvetkov
1c25803032 Build helpers (#1350)
* Move publishing helpers from Skiko

Copy of 0c4350b8e8/skiko/buildSrc/publishing

* Fix validation of pom packaging

* Add util for reading Maven Central configuration

* Suppress unused inspection

* Rename sonatype package to utils

* Fixup copyright

* Add task for fixing modules

* Find modules in space

* Fix java-base configuration
2021-11-08 12:10:08 +03:00