1
- import org.gradle.api.Project
2
1
import org.gradle.api.artifacts.dsl.RepositoryHandler
3
2
import org.gradle.api.publish.maven.MavenPom
4
- import utils.by
5
3
import utils.systemProperty
6
4
import java.net.URI
7
5
@@ -16,23 +14,23 @@ fun RepositoryHandler.configPublishMaven(sonatype: Sonatype, username: String?,
16
14
}
17
15
}
18
16
19
- fun MavenPom.setupPom (project : Project ) {
20
- name.set(" Kotlin suspend transform compiler plugin - ${project.name} " )
21
- description.set(project.description ? : " " )
22
- url.set(" https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin" )
23
- licenses {
24
- license {
25
- name by " MIT License"
26
- url by " https://mit-license.org/"
27
- }
28
- }
29
- scm {
30
- url.set(" https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin" )
31
- connection.set(" scm:git:https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin.git" )
32
- developerConnection.set(
" scm:git:ssh://[email protected] /ForteScarlet/kotlin-suspend-transform-compiler-plugin.git" )
33
- }
34
- setupDevelopers()
35
- }
17
+ // fun MavenPom.setupPom(project: Project) {
18
+ // name.set("Kotlin suspend transform compiler plugin - ${project.name}")
19
+ // description.set(project.description ?: "")
20
+ // url.set("https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin")
21
+ // licenses {
22
+ // license {
23
+ // name by "MIT License"
24
+ // url by "https://mit-license.org/"
25
+ // }
26
+ // }
27
+ // scm {
28
+ // url.set("https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin")
29
+ // connection.set("scm:git:https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin.git")
30
+ // developerConnection.set("scm:git:ssh://[email protected] /ForteScarlet/kotlin-suspend-transform-compiler-plugin.git")
31
+ // }
32
+ // setupDevelopers()
33
+ // }
36
34
37
35
/* *
38
36
* 配置开发者/协作者信息。
@@ -72,4 +70,4 @@ operator fun SonatypeUserInfo?.component2(): String? = this?.sonatypePassword
72
70
73
71
fun isPublishConfigurable (): Boolean {
74
72
return sonatypeUserInfoOrNull != null
75
- }
73
+ }
0 commit comments