From e0047c407e40cd6a666d72d5e1dba0bad268a8dd Mon Sep 17 00:00:00 2001 From: Thisaru Guruge Date: Tue, 21 Jan 2025 13:50:53 +0530 Subject: [PATCH] Fix invalid package name in builds --- README.md | 6 +++--- ballerina/build.gradle | 2 +- build.gradle | 2 +- examples/README.md | 2 +- settings.gradle | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 021c13d..e7fcdf7 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## Overview -[HubSpot](https://www.hubspot.com) is an AI-powered customer relationship management (CRM) platform. +[HubSpot](https://www.hubspot.com) is an AI-powered customer relationship management (CRM) platform. The `ballerinax/module-ballerinax-hubspot.crm.obj.contacts` package offers APIs to connect and interact with the [HubSpot Contact API](https://api.hubapi.com/crm/v3/objects/contacts) endpoints, specifically based on the [HubSpot REST API](https://developers.hubspot.com/docs/reference/api/crm/objects/contacts). @@ -22,7 +22,7 @@ To use the HubSpot connector, you must have access to the HubSpot API through a 1. Open the [HubSpot Developer Portal](https://app.hubspot.com/login/?loginRedirectUrl=https%3A%2F%2Fapp.hubspot.com%2Fsignup-hubspot%2Fdevelopers%3F_ga%3D2.269102326.624948025.1734413225-1764281074.1734413225%26step%3Dlanding_page) -2. Click on the 'App' tab and select an existing project or create a new project for which you want API keys and Authentication Access. +2. Click on the 'App' tab and select an existing project or create a new project for which you want API keys and Authentication Access. ![hubspot-app-home](https://github.com/user-attachments/assets/8f14b6d5-f537-41fe-a860-1f5fe9489b1c) @@ -264,7 +264,7 @@ All the contributors are encouraged to read the [Ballerina Code of Conduct](http ## Useful links -* For more information go to the [`hubspot.crm.object.contacts` package](https://central.ballerina.io/ballerinax/hubspot.crm.object.contacts/latest). +* For more information go to the [`hubspot.crm.object.contacts` package](https://central.ballerina.io/ballerinax/hubspot.crm.obj.contacts/latest). * For example demonstrations of the usage, go to [Ballerina By Examples](https://ballerina.io/learn/by-example/). * Chat live with us via our [Discord server](https://discord.gg/ballerinalang). * Post all technical questions on Stack Overflow with the [#ballerina](https://stackoverflow.com/questions/tagged/ballerina) tag. diff --git a/ballerina/build.gradle b/ballerina/build.gradle index 4049f14..8c4315f 100644 --- a/ballerina/build.gradle +++ b/ballerina/build.gradle @@ -24,7 +24,7 @@ plugins { description = 'Ballerina HubSpot CRM Contacts Connector - Ballerina' -def packageName = "hubspot.crm.object.contacts" +def packageName = "hubspot.crm.obj.contacts" def packageOrg = "ballerinax" def tomlVersion = stripBallerinaExtensionVersion("${project.version}") def ballerinaTomlFilePlaceHolder = new File("${project.rootDir}/build-config/resources/Ballerina.toml") diff --git a/build.gradle b/build.gradle index 3dae0e1..3d11330 100644 --- a/build.gradle +++ b/build.gradle @@ -58,7 +58,7 @@ allprojects { def moduleVersion = project.version.replace("-SNAPSHOT", "") task build { - dependsOn(':hubspot.crm.object.contacts-ballerina:build') + dependsOn(':hubspot.crm.obj.contacts-ballerina:build') } release { diff --git a/examples/README.md b/examples/README.md index f2497c0..8ec7d4e 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,6 +1,6 @@ # Examples -The `ballerinax/hubspot.crm.object.contacts` connector provides practical examples illustrating usage in various scenarios. +The `ballerinax/hubspot.crm.obj.contacts` connector provides practical examples illustrating usage in various scenarios. 1. [Email-Advertising](./Email-Advertising/) - Unsubscribe and remove customers based on email addresses of CSV-imported data.. 2. [Event-Registration](./Event-Registration/) - Event registration and follow-up using CSV-imported data. diff --git a/settings.gradle b/settings.gradle index d08cce2..e613fc5 100644 --- a/settings.gradle +++ b/settings.gradle @@ -29,9 +29,9 @@ plugins { rootProject.name = 'module-ballerinax-hubspot.crm.object.contacts' -include ':hubspot.crm.object.contacts-ballerina' +include ':hubspot.crm.obj.contacts-ballerina' -project(':hubspot.crm.object.contacts-ballerina').projectDir = file("ballerina") +project(':hubspot.crm.obj.contacts-ballerina').projectDir = file("ballerina") gradleEnterprise { buildScan {