It seems that the atlassian-plugin: https://packages.atlassian.com/maven-public/com/atlassian/sal/sal-api/4.4.2/sal-api-4.4.2.atlassian-plugin is not there any more.
sal-api: https://mvnrepository.com/artifact/com.atlassian.sal/sal-api/4.4.2
for all the sal-api versions the 'atlassian-plugin' is missing
which cause Gradle build issue:
> Could not determine artifacts for com.atlassian.sal:sal-api:4.4.2
> Could not get resource 'https://repository.<private>/mvn-public/com/atlassian/sal/sal-api/4.4.2/sal-api-4.4.2.atlassian-plugin'.
> Could not HEAD 'https://repository.<private>/mvn-public/com/atlassian/sal/sal-api/4.4.2/sal-api-4.4.2.atlassian-plugin'. Received status code 401 from server:
NB: I'm not setting this dependency in Gradle but I have a dependency that requires it: jira-rest-java-client-core:5.2.4