try with snapshot

Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
This commit is contained in:
Christian Dietrich 2021-08-28 11:38:36 +02:00
parent 07460d636d
commit e59f3b9eac
4 changed files with 8 additions and 2 deletions

View file

@ -8,6 +8,7 @@ import java.time.LocalDateTime
buildscript {
apply from: "${rootDir}/gradle/versions.gradle"
repositories.mavenCentral()
repositories.mavenLocal()
dependencies {
classpath "org.xtext:xtext-gradle-plugin:$versions.xtext_gradle_plugin"
}
@ -23,6 +24,7 @@ apply from: "${rootDir}/gradle/bootstrap-setup.gradle"
ext.buildTime = DateTimeFormatter.ofPattern('yyyyMMdd-HHmm').format(LocalDateTime.now())
subprojects {
repositories.mavenLocal()
group = 'org.eclipse.xtext'
version = rootProject.version

View file

@ -13,10 +13,12 @@ repositories {
name 'xtend-bootstrap'
url "$JENKINS_URL/job/xtend-bootstrap/lastStableBuild/artifact/build-result/maven-repository/"
}
mavenLocal()
}
configurations {
xtendCompiler {
repositories.mavenLocal()
description 'Bootstrap dependencies for the Xtend compiler'
resolutionStrategy {
eachDependency {
@ -32,5 +34,5 @@ dependencies {
xtendCompiler "org.eclipse.xtend:org.eclipse.xtend.core:${versions.xtext_bootstrap}"
xtendCompiler "org.eclipse.xtext:org.eclipse.xtext.smap:${versions.xtext_bootstrap}"
xtendCompiler "org.xtext:xtext-gradle-builder:$versions.xtext_gradle_plugin"
xtendCompiler platform("org.eclipse.xtext:xtext-dev-bom:${versions.xtext_bootstrap}")
//xtendCompiler platform("org.eclipse.xtext:xtext-dev-bom:${versions.xtext_bootstrap}")
}

View file

@ -25,6 +25,7 @@ def jenkinsPipelineRepo = { jobName, branch ->
repositories {
mavenCentral()
if (findProperty('useJenkinsSnapshots') == 'true') {
maven { url "$JENKINS_URL/job/lsp4j/$MVN_REPOPATH" }
maven { url jenkinsPipelineRepo('xtext-lib','autodetect') }
@ -32,6 +33,7 @@ repositories {
mavenLocal()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
mavenLocal()
}
/**

View file

@ -7,5 +7,5 @@ version = '2.26.0-SNAPSHOT'
ext.versions = [
'xtext': version,
'xtext_bootstrap': '2.26.0.M1',
'xtext_gradle_plugin': '2.0.8'
'xtext_gradle_plugin': '2.0.10-SNAPSHOT'
]