【发布时间】:2017-08-27 18:29:45
【问题描述】:
我正在创建一个使用 Kotlin 的 Squash SQL 库的项目。我已将依赖项添加到我的 build.gradle 文件中。运行更新时,它只是完成而不输出任何错误。但是该库没有被导入到我的项目中,并且根本没有出现。
IntelliJ 中显示的依赖项:
我的build.gradle 文件:
//Kotlin Stuff, nothing changed here
repositories {
mavenCentral()
maven {
url "http://dl.bintray.com/kotlin/squash"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'org.jetbrains.squash:squash:0.2.2'
}
//Kotlin Stuff
【问题讨论】: