Please add 2019.2 EAP artifacts to www.jetbrains.com/intellij-repository/

已回答

Artifacts are not found when trying to build a project with version 2019.2 EAP. 

2

Thanks for the answer, but I still have a problem.

I use 'gradle-intellij-plugin' https://github.com/JetBrains/gradle-intellij-plugin and add snapshot repository to repositories block. When building a project on a EAP version (f.e. IC-192.5281.24-EAP-SNAPSHOT), some dependencies are not visible. If I build on a stable version (f.e. IC-191.7479.19), then all is well.

-- fragment code of build.gradle

buildscript {
repositories {
mavenLocal()
maven { url 'https://www.jetbrains.com/intellij-repository/snapshots' }
}
dependencies {
classpath "gradle.plugin.org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.4.9"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

plugins {
id 'org.jetbrains.intellij' version '0.4.9'
}

allprojects {
apply(plugin: 'java')
apply(plugin: 'maven')
apply(plugin: 'kotlin')

repositories {
maven { url 'https://www.jetbrains.com/intellij-repository/snapshots' }
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

sourceSets {
main {
java {
srcDir 'src'
compileClasspath = compileClasspath + project.configurations.provided
}
resources { srcDirs = ['src', 'resources'] }
}
test {
java {
srcDir 'test'
compileClasspath = compileClasspath + project.configurations.provided
}
resources { srcDir 'test' }
}
}

apply(plugin: 'org.jetbrains.intellij')

intellij {
def ultimateIdeaPlugins = ['JavaEE', 'PersistenceSupport', 'DatabaseTools']

pluginName 'cuba-studio'

version 'IC-192.5281.24-EAP-SNAPSHOT'

plugins = ['properties', 'gradle', 'Groovy', 'copyright', 'xpath'] + (ultimate ? ultimateIdeaPlugins : [])
downloadSources true
updateSinceUntilBuild false

if(ultimate) {
setType("IU")
}
}

patchPluginXml {
version(rootProject.version)
}

if (project != intellijModule) {
runIde.enabled = false
publishPlugin.enabled = false
verifyPlugin.enabled = false
}
}


Libraries of Gradle:com.jetbrains:ideaIC-192.5281.24-EAP-SNAPSHOT

Libraries of Gradle:com.jetbrains:ideaIC-191.7479.19

java-api.jar is missing
0

请先登录再写评论。