autaut03 / kottle

Kotlin language provider for Forge 1.13.2+
GNU Lesser General Public License v3.0
31 stars 13 forks source link

net.minecraftforge.gradle: Plugin not found #25

Closed CmdrNorthpaw closed 4 years ago

CmdrNorthpaw commented 4 years ago

I'm pretty sure that this is me being dumb, but after editing build.gradle to add Kottle, building Gradle throws a net.minecraftforge.gradle: Plugin not found error. Now after some Googling that error apparently occurs when you edit the part of build.gradle that should not be edited but that I did edit because of the whole avoiding compilation errors on Linux thing. Here's the offending part of the file:

buildscript {
    ext.kotlin_version = '1.3.70'
    repositories {
        maven { url = 'https://files.minecraftforge.net/maven' }
        jcenter()
        mavenCentral()
    }
    dependencies {
        classpath(group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true) {
            exclude group: 'trove', module: 'trove'
    }
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
apply plugin: 'net.minecraftforge.gradle'
CmdrNorthpaw commented 4 years ago

Closed; dumb me misplaced a curly bracket.