mbuhot / eskotlin

Elasticsearch Query DSL for Kotlin
MIT License
136 stars 28 forks source link

Fix build script #34

Closed mbuhot closed 5 years ago

mbuhot commented 5 years ago

The build script seems to be broken with recent versions of gradle and the bintray plugin.

Find a good reference build script that will build the package and publish to a Bintray maven repository including sources.

The error I get when trying to publish the package is:

Caused by: org.gradle.api.GradleException: Could not upload to 'https://api.bintray.com/content/mbuhot/maven/eskotlin/0.7.1/property(class java/lang/String, map(provider(?)))/property(class java.lang.String, fixed(class java.lang.String, es-kotlin))/property(class java.lang.String, map(provider(?)))/property(class java.lang.String, fixed(class java.lang.String, es-kotlin))-property(class java.lang.String, map(provider(?))).pom': 
HTTP/1.1 400 Bad Request [message:Unable to upload files: Maven group, artifact or version defined in the pom file do not match the file path 'property(class java/lang/String, map(provider(?)))/property(class java.lang.String, fixed(class java.lang.String, es-kotlin))/property(class java.lang.String, map(provider(?)))/property(class java.lang.String, fixed(class java.lang.String, es-kotlin))-property(class java.lang.String, map(provider(?))).pom']

which looks like it is trying to interpolate an object of some kind into a URL path?

mbuhot commented 5 years ago

Appears to be working now. Still needs to be updated to work with upcoming gradle 6.x, but good enough for now.