to my gradle file, but it still can't seem to import. How should I debug this?
h
Hanno
09/18/2020, 7:04 PM
A chance that you forgot to add
repositories {
jcenter()
}
As stated in the documentation?
n
Nir
09/18/2020, 7:05 PM
Nope, I have that
Nir
09/18/2020, 7:05 PM
Copy code
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.0'
}
group 'org.example'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin-kapt'
repositories {
mavenCentral()
jcenter()
maven { url "<https://dl.bintray.com/arrow-kt/arrow-kt/>" }
maven { url "<https://oss.jfrog.org/artifactory/oss-snapshot-local/>" } // for SNAPSHOT builds
}
def arrow_version = "0.11.0"
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.4.0"
implementation "io.arrow-kt:arrow-optics:$arrow_version"
implementation "io.arrow-kt:arrow-syntax:$arrow_version"
implementation "org.jetbrains.kotlinx:kotlinx-collections-immutable-jvm:0.3.3"
kapt "io.arrow-kt:arrow-meta:$arrow_version"
}
h
Hanno
09/18/2020, 7:06 PM
Normally you debug those things first with a ./gradlew build and show us the complete error :)
n
Nir
09/18/2020, 7:10 PM
how do I do a gradlew build from the IDE?
Nir
09/18/2020, 7:12 PM
hmm, it's possible that it's working now 🙂
h
Hanno
09/19/2020, 6:23 AM
No, i meant from cmd, i usually suggest that when i have the impression that it's only the ide that's faulty, Not the project itself :)
When it works now, also okay