here is build file ```import org.jetbrains.kotlin....
# arrow-meta
p
here is build file
Copy code
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile


buildscript {
    repositories {
        maven { url = uri("<https://oss.jfrog.org/artifactory/oss-snapshot-local/>") }
    }
    dependencies {
        classpath("io.arrow-kt:gradle-plugin:1.4.10-SNAPSHOT")
    }
}

plugins {
    kotlin("jvm") version "1.4.10"
}

apply(plugin = "io.arrow-kt.arrow")

dependencies {
    compileOnly( "io.arrow-kt:arrow-meta-prelude:1.4.10-SNAPSHOT")
    testImplementation(kotlin("test-junit"))
}

tasks.withType<KotlinCompile>() {
    kotlinOptions.jvmTarget = "1.8"
    kotlinOptions.freeCompilerArgs = listOf("-Xallow-jvm-ir-dependencies")
}

repositories {
    mavenCentral()
    maven("<https://oss.jfrog.org/artifactory/oss-snapshot-local/>")
}
r
Hi @Petr Makagon, I cannot reproduce your error. However, I realized about other errors that have been fixed. I tried your build file and it works for me. Please, try it again with the new content in
arrow-meta-examples
repository and let us know the result. Thanks!!
p
@Rachel were you able to use build.gradle.kts above successfully ?
The issue depends on gradle version
works with Gradle 5.6.4
fails with 6.6.1
r
Thank you so much @Petr Makagon 🙌 Right, the issue comes from Gradle. It fails since
6.6
because it works until
6.5.1
as well (included). We'll review the issues in Gradle and we'll report it in case it's not a known issue yet. Thanks again!!