grgit not found
aleck099 opened this issue ยท 1 comments
After executing gradle build
I get
A problem occurred configuring root project 'fabric-api'.
> Could not resolve all files for configuration ':classpath'.
> Could not find org.ajoberstar.grgit:grgit-core:3.1.0.
Searched in the following locations:
- https://plugins.gradle.org/m2/org/ajoberstar/grgit/grgit-core/3.1.0/grgit-core-3.1.0.pom
- https://maven.fabricmc.net/org/ajoberstar/grgit/grgit-core/3.1.0/grgit-core-3.1.0.pom
Required by:
project : > org.ajoberstar.grgit:org.ajoberstar.grgit.gradle.plugin:3.1.0 > org.ajoberstar.grgit:grgit-gradle:3.1.0
Adding repositories to build.gradle
fixes this
build.gradle:
// Before
buildscript {
dependencies {
classpath 'org.kohsuke:github-api:1.135'
}
}
// After
buildscript {
dependencies {
classpath 'org.kohsuke:github-api:1.135'
}
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
jcenter()
}
}