-
Notifications
You must be signed in to change notification settings - Fork 21
fix(java): release package with name algoliasearch-client-java #498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
POM_ARTIFACT_ID=algoliasearch-client-java | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
rootProject.name = "algoliasearch-client-java-2" | ||
rootProject.name = "algoliasearch-client-java" | ||
|
||
include(":algoliasearch-core") |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,111 +135,103 @@ | |
}, | ||
"java-search": { | ||
"output": "#{cwd}/clients/algoliasearch-client-java-2", | ||
"artifactId": "algoliasearch-client-java-2", | ||
"groupId": "com.algolia", | ||
"apiPackage": "com.algolia.api", | ||
"invokerPackage": "com.algolia", | ||
"modelPackage": "com.algolia.model.search", | ||
"library": "okhttp-gson", | ||
"gitRepoId": "algoliasearch-client-java-2", | ||
"additionalProperties": { | ||
"packageName": "algoliasearch-client-java-2" | ||
"packageName": "algoliasearch-client-java" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's called There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah this will break the version bump, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. packageName is only used for js, I should remove it here but it changes lots of scripts |
||
} | ||
}, | ||
"java-recommend": { | ||
"output": "#{cwd}/clients/algoliasearch-client-java-2", | ||
"artifactId": "algoliasearch-client-java-2", | ||
"groupId": "com.algolia", | ||
"apiPackage": "com.algolia.api", | ||
"invokerPackage": "com.algolia", | ||
"modelPackage": "com.algolia.model.recommend", | ||
"library": "okhttp-gson", | ||
"gitRepoId": "algoliasearch-client-java-2", | ||
"additionalProperties": { | ||
"packageName": "algoliasearch-client-java-2" | ||
"packageName": "algoliasearch-client-java" | ||
} | ||
}, | ||
"java-personalization": { | ||
"output": "#{cwd}/clients/algoliasearch-client-java-2", | ||
"artifactId": "algoliasearch-client-java-2", | ||
"groupId": "com.algolia", | ||
"apiPackage": "com.algolia.api", | ||
"invokerPackage": "com.algolia", | ||
"modelPackage": "com.algolia.model.personalization", | ||
"library": "okhttp-gson", | ||
"gitRepoId": "algoliasearch-client-java-2", | ||
"additionalProperties": { | ||
"packageName": "algoliasearch-client-java-2", | ||
"packageName": "algoliasearch-client-java", | ||
"hasRegionalHost": true | ||
} | ||
}, | ||
"java-analytics": { | ||
"output": "#{cwd}/clients/algoliasearch-client-java-2", | ||
"artifactId": "algoliasearch-client-java-2", | ||
"groupId": "com.algolia", | ||
"apiPackage": "com.algolia.api", | ||
"invokerPackage": "com.algolia", | ||
"modelPackage": "com.algolia.model.analytics", | ||
"library": "okhttp-gson", | ||
"gitRepoId": "algoliasearch-client-java-2", | ||
"additionalProperties": { | ||
"packageName": "algoliasearch-client-java-2", | ||
"packageName": "algoliasearch-client-java", | ||
"hasRegionalHost": true | ||
} | ||
}, | ||
"java-insights": { | ||
"output": "#{cwd}/clients/algoliasearch-client-java-2", | ||
"artifactId": "algoliasearch-client-java-2", | ||
"groupId": "com.algolia", | ||
"apiPackage": "com.algolia.api", | ||
"invokerPackage": "com.algolia", | ||
"modelPackage": "com.algolia.model.insights", | ||
"library": "okhttp-gson", | ||
"gitRepoId": "algoliasearch-client-java-2", | ||
"additionalProperties": { | ||
"packageName": "algoliasearch-client-java-2", | ||
"packageName": "algoliasearch-client-java", | ||
"hasRegionalHost": true | ||
} | ||
}, | ||
"java-abtesting": { | ||
"output": "#{cwd}/clients/algoliasearch-client-java-2", | ||
"artifactId": "algoliasearch-client-java-2", | ||
"groupId": "com.algolia", | ||
"apiPackage": "com.algolia.api", | ||
"invokerPackage": "com.algolia", | ||
"modelPackage": "com.algolia.model.abtesting", | ||
"library": "okhttp-gson", | ||
"gitRepoId": "algoliasearch-client-java-2", | ||
"additionalProperties": { | ||
"packageName": "algoliasearch-client-java-2", | ||
"packageName": "algoliasearch-client-java", | ||
"hasRegionalHost": true | ||
} | ||
}, | ||
"java-query-suggestions": { | ||
"output": "#{cwd}/clients/algoliasearch-client-java-2", | ||
"artifactId": "algoliasearch-client-java-2", | ||
"groupId": "com.algolia", | ||
"apiPackage": "com.algolia.api", | ||
"invokerPackage": "com.algolia", | ||
"modelPackage": "com.algolia.model.querySuggestions", | ||
"library": "okhttp-gson", | ||
"gitRepoId": "algoliasearch-client-java-2", | ||
"additionalProperties": { | ||
"packageName": "algoliasearch-client-java-2", | ||
"packageName": "algoliasearch-client-java", | ||
"hasRegionalHost": true | ||
} | ||
}, | ||
"java-predict": { | ||
"output": "#{cwd}/clients/algoliasearch-client-java-2", | ||
"artifactId": "algoliasearch-client-java-2", | ||
"groupId": "com.algolia", | ||
"apiPackage": "com.algolia.api", | ||
"invokerPackage": "com.algolia", | ||
"modelPackage": "com.algolia.model.predict", | ||
"library": "okhttp-gson", | ||
"gitRepoId": "algoliasearch-client-java-2", | ||
"additionalProperties": { | ||
"packageName": "algoliasearch-client-java-2" | ||
"packageName": "algoliasearch-client-java" | ||
} | ||
}, | ||
"php-search": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
rootProject.name = 'java-playground' | ||
|
||
includeBuild '../../clients/algoliasearch-client-java-2' | ||
includeBuild('../../clients/algoliasearch-client-java-2') { | ||
dependencySubstitution { | ||
substitute module('com.algolia:algoliasearch-client-java') using project(':algoliasearch-core') | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
rootProject.name = 'java-tests' | ||
|
||
includeBuild '../../../clients/algoliasearch-client-java-2' | ||
includeBuild('../../../clients/algoliasearch-client-java-2') { | ||
dependencySubstitution { | ||
substitute module('com.algolia:algoliasearch-client-java') using project(':algoliasearch-core') | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't it be
algoliasearch-core
if we have multiple package under this repository later?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not planned for now, I'm not sure what the correct package should be called but it won't be
algoliasearch-core
for nowThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally it should be the exact same as today, to avoid losing version history etc. but during this experimental phase it can be whatever indeed.
What do you think of adding the experimental like we did for JS? So it's a bit of warning and less confusing to users
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SNAPSHOT
is the same as experimental for user, they cannot see it and have to add a special repository by hand to be able to use it. It's like another package.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah oki make sense then!