File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 65
65
- name : 3. Build with Kotlin ${{ matrix.kotlin }} and mock-maker ${{ matrix.mock-maker }}
66
66
run : |
67
67
ops/mockMakerInline.sh
68
- ./gradlew build bintrayUpload idea -PbintrayDryRun
68
+ ./gradlew build bintrayUpload -PbintrayDryRun
69
69
env :
70
70
KOTLIN_VERSION : ${{ matrix.kotlin }}
71
71
MOCK_MAKER : ${{ matrix.mock-maker }}
96
96
97
97
- name : Build and publish to Bintray/MavenCentral
98
98
run : ./gradlew tasks # TODO, in progress: bintrayUpload githubRelease
99
- # env:
100
- # GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
99
+ env :
100
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
101
101
# BINTRAY_API_KEY: ${{secrets.BINTRAY_API_KEY}}
102
102
# NEXUS_TOKEN_USER: ${{secrets.NEXUS_TOKEN_USER}}
103
103
# NEXUS_TOKEN_PWD: ${{secrets.NEXUS_TOKEN_PWD}}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ task sourceJar(type: Jar) {
14
14
15
15
publishing {
16
16
publications {
17
- mavenJava (MavenPublication ) {
17
+ javaLibrary (MavenPublication ) {
18
18
artifactId ' mockito-kotlin'
19
19
20
20
from components. java
@@ -75,7 +75,7 @@ bintray {
75
75
publish = false // can be changed to 'false' for testing
76
76
dryRun = project. hasProperty(' bintrayDryRun' )
77
77
78
- publications = [' mavenJava ' ]
78
+ publications = [' javaLibrary ' ]
79
79
80
80
pkg {
81
81
repo = ' test' // https://bintray.com/mockito/maven // TODO change to 'maaven' when CI ready
You can’t perform that action at this time.
0 commit comments