Repository source packages import from https://github.com/JetBrains/intellij-community

I need to use in my project classes from package org.jetbrains.idea.maven from GitHub - JetBrains/intellij-community: IntelliJ IDEA Community Edition & IntelliJ Platform

Unfortunetely it’s not managened by Maven or Gradle, and I need to add dependencies to my gradle project, so I can use imports and classes from org.jetbrains.idea.maven .

The solutions I found, have used old repository links which are no longer available.