File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import com.redmadrobot.build.dsl.*
22
33plugins {
4- id(" com.redmadrobot.publish-config" )
5- id(" com.redmadrobot.publish" )
4+ id(" com.vanniktech.maven.publish" )
65}
76
8- redmadrobot {
9- publishing {
10- signArtifacts = ! isRunningOnCi
11- pom {
12- setGitHubProject(" RedMadRobot/TextValue" )
7+ mavenPublishing {
8+ publishToMavenCentral(automaticRelease = true )
9+ signAllPublications()
1310
14- licenses {
15- mit( )
16- }
11+ pom {
12+ name.convention(project.name )
13+ description.convention(project.description)
1714
18- developers {
19- developer(id = " osipxd" , name = " Osip Fatkullin" , email = " o.fatkullin@redmadrobot.com" )
20- developer(id = " sonulen" , name = " Andrey Tolmachev" , email = " sonulen@gmail.com" )
21- }
15+ setGitHubProject(" RedMadRobot/TextValue" )
16+
17+ licenses {
18+ mit()
19+ }
20+
21+ developers {
22+ developer(id = " osipxd" , name = " Osip Fatkullin" , email = " o.fatkullin@redmadrobot.com" )
23+ developer(id = " sonulen" , name = " Andrey Tolmachev" , email = " sonulen@gmail.com" )
2224 }
2325 }
2426}
2527
2628publishing {
2729 repositories {
2830 if (isRunningOnCi) githubPackages(" RedMadRobot/TextValue" )
29- if (isReleaseVersion && credentialsExist(" ossrh" )) ossrh()
3031 }
3132}
You can’t perform that action at this time.
0 commit comments