Joachim Ansorg

    Joachim Ansorg

    2 years ago
    which repository provides
    io.arrow-kt:arrow-meta-compiler-plugin:1.3.70-SNAPSHOT
    ? I'm trying to setup a simple project using arrow-meta by using https://plugins.gradle.org/plugin/io.arrow-kt.arrow, the gradle plugin requires the dependency above
    raulraja

    raulraja

    2 years ago
    @Rachel ^^^
    Joachim Ansorg

    Joachim Ansorg

    2 years ago
    alternatively, is there something like https://github.com/arrow-kt/arrow/blob/rr-meta-prototype-integration/modules/meta/arrow-meta-test/build.gradle for the current version of arrow-meta? The module above isn't in the new
    arrow-meta
    repository, it was part of
    rr-meta-prototype-integration
    simon.vergauwen

    simon.vergauwen

    2 years ago
    No, that is something I setup at the time to test locally and has been removed since then.
    It’s very easy to setup. I can set it up again, it was a very convenient way of testing plugins but I don’t think it works for IDE plugins that way only compiler plugins.
    Rachel

    Rachel

    2 years ago
    Hi @Joachim Ansorg!!
    io.arrow-kt:arrow-meta-compiler-plugin:1.3.70-SNAPSHOT
    is provided by OSS: https://oss.jfrog.org/artifactory/oss-snapshot-local/io/arrow-kt/arrow-meta-compiler-plugin/1.3.70-SNAPSHOT/
    So URL repository:
    <https://oss.jfrog.org/artifactory/oss-snapshot-local/>
    Joachim Ansorg

    Joachim Ansorg

    2 years ago
    thank you, @Rachel. I'll try that
    Rachel

    Rachel

    2 years ago
    As that dependency is in OSS, we cannot still follow the guidelines here: https://plugins.gradle.org/plugin/io.arrow-kt.arrow
    It's necessary to add that additional repository
    I'm going to document it 👍
    Joachim Ansorg

    Joachim Ansorg

    2 years ago
    thanks, that helped! I'll post the new build troubles in the channel
    @Rachel I'm trying to use the current version of the arrow gradle plugin, that's version
    1.3.60-15-10c37f9
    as shown on https://plugins.gradle.org/plugin/io.arrow-kt.arrow. You mentioned to add repository https://oss.jfrog.org/artifactory/oss-snapshot-local/ the last time I couldn't get this to work. But that doesn't seem to work anymore. Could you tell where this version is available, please?
    Imran/Malic

    Imran/Malic

    2 years ago
    Did you add mavenCentral too ?
    Joachim Ansorg

    Joachim Ansorg

    2 years ago
    I have
    repositories {
      mavenCentral()
      maven { url "<https://oss.jfrog.org/artifactory/oss-snapshot-local/>" }
    }
    Imran/Malic

    Imran/Malic

    2 years ago
    That’s weird.
    Rachel

    Rachel

    2 years ago
    Hi @Joachim Ansorg!
    Is that repositories section inside buildscript? I mean, until we have the artifact in Maven Central it's necessary to use the legacy plugin application, adding OSS repository:
    buildscript {
      repositories {
        maven {
          url "<https://plugins.gradle.org/m2/>"
        }
        maven {
          url "<https://oss.jfrog.org/artifactory/oss-snapshot-local>"
        }
      }
      dependencies {
        classpath "io.arrow-kt:gradle-plugin:1.3.60-15-10c37f9"
      }
    }
    
    apply plugin: "io.arrow-kt.arrow"`
    Please, check what I wrote because I'm using the mobile phone and maybe I made some mistake when writing it
    Just copy the guideline from Gradle Plugin Portal and add OSS repository
    Joachim Ansorg

    Joachim Ansorg

    2 years ago
    Thanks! I got this to work here. I misread the error message after updating the version of the gradle plugin. I had "kotlinVersion=1.3.50" which referenced dependencies with broken dependency, I think. The error was this (now solved with `kotlinVersion = 1.3.60'):
    > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.60-eap-143.
         Required by:
             project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.3.50
             project : > org.jetbrains.kotlin.kapt:org.jetbrains.kotlin.kapt.gradle.plugin:1.3.50
          > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.60-eap-143.
             > Could not get resource '<https://oss.jfrog.org/artifactory/oss-snapshot-local/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.60-eap-143/kotlin-gradle-plugin-1.3.60-eap-143.pom>'.
                > Could not HEAD '<https://oss.jfrog.org/artifactory/oss-snapshot-local/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.60-eap-143/kotlin-gradle-plugin-1.3.60-eap-143.pom>'. Re
    Imran/Malic

    Imran/Malic

    2 years ago
    Yes,
    Arrow-Meta
    will always target the latest Kotlin version
    Same goes for the Ide regarding IntelliJ