Ruckus
05/23/2024, 10:11 PMandrey.dernov
05/24/2024, 11:13 AMJoffrey
05/27/2024, 4:28 PMmavenLocal as a repository URL for the local maven repo specifically. We don't need to support arbitrary directories for thisRuckus
05/31/2024, 5:10 PMrepositories
- mavenLocal
And how would I apply that to publishing? Would that be this
publishing:
- type: mavenLocal
groupId: ...
artifactId: ...
or this
publishing:
- type: Maven
groupId: ...
artifactId: ...
repository: mavenLocalRuckus
05/31/2024, 5:18 PMpublishing:
- maven: lib
groupId: ...
artifactId: ...Joffrey
06/05/2024, 3:41 PMid and url should have this special value):
repositories:
- id: mavenLocal
url: mavenLocal
When using Amper in a Gradle build, this will translate to declaring mavenLocal() as a repository for your project, which means you can now fetch dependencies from maven local.
Regarding publishing, you should be able to use the publishToMavenLocal task even without this setup.Ruckus
06/05/2024, 4:55 PMJoffrey
06/06/2024, 12:11 PMmodule.yaml and just run:
./amper publish mavenLocal
Or
./amper task publishToMavenLocal
Although note that the publication in Amper standalone is still WIP and might not be completely implemented.
For instance, KMP publications will be incomplete (pure JVM libs should be fine).Ruckus
06/06/2024, 4:27 PM