File tree 3 files changed +10
-8
lines changed
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 37
37
- name : Publish release
38
38
shell : bash
39
39
if : " github.event_name == 'release'"
40
- run : ./gradlew clean ${{ inputs.publish == 'true' && 'publish' || '' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=true -Pdeploy.native=false -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
40
+ run : ./gradlew clean ${{ inputs.publish == 'true' && 'publish' || 'assemble ' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=true -Pdeploy.native=false -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
41
41
42
42
- name : Set outputs
43
43
id : vars
46
46
- name : Publish snapshot
47
47
shell : bash
48
48
if : " github.event_name != 'release'"
49
- run : ./gradlew clean ${{ inputs.publish == 'true' && 'publish' || '' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=true -Pdeploy.native=false -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
49
+ run : ./gradlew clean ${{ inputs.publish == 'true' && 'publish' || 'assemble ' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=true -Pdeploy.native=false -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ runs:
236
236
- name : Publish release
237
237
shell : bash
238
238
if : " github.event_name == 'release'"
239
- run : ./gradlew clean ${{ inputs.publish == 'true' && 'publish' || '' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pdeploy.platform=${{ github.job }} -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
239
+ run : ./gradlew clean ${{ inputs.publish == 'true' && 'publish' || 'assemble ' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pdeploy.platform=${{ github.job }} -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
240
240
241
241
- name : Set outputs
242
242
id : vars
@@ -245,4 +245,4 @@ runs:
245
245
- name : Publish snapshot
246
246
shell : bash
247
247
if : " github.event_name != 'release'"
248
- run : ./gradlew clean ${{ inputs.publish == 'true' && 'publish' || '' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pdeploy.platform=${{ github.job }} -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
248
+ run : ./gradlew clean ${{ inputs.publish == 'true' && 'publish' || 'assemble ' }} ${{ inputs.tests == 'true' && 'check' || '-x check -x test' }} -Pdeploy.kotlin=false -Pdeploy.native=true -Pdeploy.platform=${{ github.job }} -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev --console=plain --info --configure-on-demand --parallel --build-cache --configuration-cache
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ plugins {
6
6
`maven- publish`
7
7
}
8
8
9
- group = " dev.silenium.libs.ffmpeg"
10
- version = findProperty(" deploy.version" ) as String? ? : " 0.0.0-SNAPSHOT"
11
-
12
9
repositories {
13
10
mavenCentral()
14
11
maven(" https://reposilite.silenium.dev/releases" ) {
@@ -42,6 +39,10 @@ tasks.jar {
42
39
43
40
allprojects {
44
41
apply<MavenPublishPlugin >()
42
+ apply<BasePlugin >()
43
+
44
+ group = " dev.silenium.libs.ffmpeg"
45
+ version = findProperty(" deploy.version" ) as String? ? : " 0.0.0-SNAPSHOT"
45
46
46
47
publishing {
47
48
repositories {
@@ -51,7 +52,8 @@ allprojects {
51
52
username =
52
53
System .getenv(" REPOSILITE_USERNAME" ) ? : project.findProperty(" reposiliteUser" ) as String? ? : " "
53
54
password =
54
- System .getenv(" REPOSILITE_PASSWORD" ) ? : project.findProperty(" reposilitePassword" ) as String? ? : " "
55
+ System .getenv(" REPOSILITE_PASSWORD" ) ? : project.findProperty(" reposilitePassword" ) as String?
56
+ ? : " "
55
57
}
56
58
}
57
59
}
You can’t perform that action at this time.
0 commit comments