Hello everybody,
I’m having trouble publishing a native shared library to a maven repository.
As far as I know, I have to specify which artifacts to publish using an “archives” block. In the past (until gradle 1.10), the cpp-lib and cpp-exe plugins did that for me.
As these plugins have been removed with 1.11, I now wonder how I can achieve the same behaviour. I could not find any sample of how to properly define the archives block. I guess it’s more than just simple files, at least the code in the cpp-lib plugin looked more complicated.
So could anybody please help me filling the gap, that cpp-lib left behind?
PS: Here is the build.gradle I used with gradle 1.09:
apply plugin: 'cpp-lib'
version = 0.1
uploadArchives {
repositories {
maven {
url '/path/to/repo'
}
}
}