File tree Expand file tree Collapse file tree
arrow-libs/optics/arrow-optics-plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 run : ./gradlew assemble -Pversion=${{ github.event.release.name }} -Penable_wasm=true
3838
3939 - name : Publish artifacts
40- run : ./gradlew -Pversion=${{ github.event.release.name }} publish -Penable_wasm=true
40+ run : ./gradlew publish -Pversion=${{ github.event.release.name }} -Penable_wasm=true
41+
42+ - name : Publish plug-ins
43+ run : ./gradlew publishPlugins -Pversion=${{ github.event.release.name }} -Penable_wasm=true -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY_ARROW }} -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET_ARROW }}
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ plugins {
33 id(" java-gradle-plugin" )
44 id(" com.github.gmazzo.buildconfig" ) version " 5.7.0"
55 id(" com.diffplug.spotless" )
6- id(" com.vanniktech.maven.publish.base" )
6+ // id("com.vanniktech.maven.publish.base")
7+ id(" com.gradle.plugin-publish" ) version " 2.0.0"
78}
89
910group = property(" projects.group" ).toString()
@@ -59,16 +60,21 @@ buildConfig {
5960}
6061
6162gradlePlugin {
63+ website = " https://arrow-kt.io/"
64+ vcsUrl = " https://github.com/arrow-kt/arrow"
65+
6266 plugins {
6367 create(" ArrowOpticsPlugin" ) {
6468 id = " arrow.optics.plugin"
6569 displayName = " ArrowOpticsPlugin"
66- description = " ArrowOpticsPlugin "
70+ description = " Arrow Optics for Kotlin (Multiplatform) "
6771 implementationClass = " arrow.optics.plugin.ArrowOpticsPlugin"
72+ tags = listOf (" arrow" , " optics" , " kotlin" )
6873 }
6974 }
7075}
7176
77+ /*
7278mavenPublishing {
7379 configureBasedOnAppliedPlugins()
7480 pomFromGradleProperties()
@@ -78,6 +84,8 @@ mavenPublishing {
7884 }
7985}
8086
87+ */
88+
8189if (project.findProperty(" onlyLocal" )?.toString()?.toBooleanStrict() == true ) {
8290 publishing {
8391 repositories {
You can’t perform that action at this time.
0 commit comments