@@ -23,8 +23,6 @@ def buildSnapshots = rootProject.properties['build_snapshot_train'] != null
2323
2424evaluationDependsOn(' :atomicfu-transformer' )
2525
26- def kotlinDevRepoUrl = KotlinAggregateBuild . getKotlinDevRepositoryUrl(project)
27-
2826task generatePomFile (dependsOn : [compileKotlin, ' :atomicfu-transformer:publishToMavenLocal' ]) {
2927 def buildDir = project. buildDir // because Maven model also has "project"
3028 outputs. file(pomFile)
@@ -45,12 +43,11 @@ task generatePomFile(dependsOn: [compileKotlin, ':atomicfu-transformer:publishTo
4543 appendNode(' project.build.sourceEncoding' , ' UTF-8' )
4644 }
4745 appendNode(' repositories' ). with {
48- if (kotlinDevRepoUrl != null && ! kotlinDevRepoUrl. isEmpty()) {
49- appendNode(' repository' ). with {
50- appendNode(' id' , ' dev' )
51- appendNode(' url' , kotlinDevRepoUrl)
52- }
46+ appendNode(' repository' ). with {
47+ appendNode(' id' , ' dev' )
48+ appendNode(' url' , ' https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev' )
5349 }
50+
5451 if (buildSnapshots) {
5552 appendNode(' repository' ). with {
5653 appendNode(' id' , ' kotlin-snapshots' )
@@ -80,11 +77,11 @@ task generatePluginDescriptor(type: Exec, dependsOn: generatePomFile) {
8077 if (mavenUserHome != null ) args. add(" -Dmaven.user.home=${ new File(mavenUserHome).getAbsolutePath()} " )
8178 if (mavenRepoLocal != null ) args. add(" -Dmaven.repo.local=${ new File(mavenRepoLocal).getAbsolutePath()} " )
8279 args. addAll([
83- ' --settings' , ' ./settings.xml' ,
84- ' --errors' ,
85- ' --batch-mode' ,
86- ' --file' , pomFile. toString(),
87- ' org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor'
80+ ' --settings' , ' ./settings.xml' ,
81+ ' --errors' ,
82+ ' --batch-mode' ,
83+ ' --file' , pomFile. toString(),
84+ ' org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor'
8885 ])
8986 commandLine args
9087 doLast {
0 commit comments