質問編集履歴
4
文章を修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -86,6 +86,60 @@
|
|
86
86
|
|
87
87
|
```
|
88
88
|
|
89
|
+
$ gradle build
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
FAILURE: Build failed with an exception.
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
* Where:
|
98
|
+
|
99
|
+
Build file '/home/shigurechan/ダウンロード/picocli/build.gradle' line: 21
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
* What went wrong:
|
104
|
+
|
105
|
+
A problem occurred evaluating root project 'picocli'.
|
106
|
+
|
107
|
+
> Could not find method testImplementation() for arguments [io.kotlintest:kotlintest-runner-junit5:3.3.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
* Try:
|
112
|
+
|
113
|
+
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
* Get more help at https://help.gradle.org
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
BUILD FAILED in 1s
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
```
|
142
|
+
|
89
143
|
> Task :test FAILED
|
90
144
|
|
91
145
|
|
3
文章をタイトルを修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
picocli がビルド出来ない原因が知りたい。
|
1
|
+
picocli がビルド出来ない原因が知りたい。[ Execution failed for task ':test'. ]の原因とは?
|
test
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
提示コードですがpicocliディレクトリ内のbuild.gradle を実行すると以下ようなエラーがでるのですがこれは何が原因なのでしょうか?
|
2
|
+
|
3
|
+
なぜtestがないのでしょうか?
|
2
4
|
|
3
5
|
|
4
6
|
|
@@ -8,97 +10,75 @@
|
|
8
10
|
|
9
11
|
|
10
12
|
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
index.html内
|
18
|
+
|
19
|
+
```html
|
20
|
+
|
21
|
+
AtFileTest. testAtFileEndingWithoutNewline
|
22
|
+
|
23
|
+
AtFileTest. testAtFileExpandedAbsolute
|
24
|
+
|
25
|
+
AtFileTest. testAtFileExpandedMixedWithOtherParams
|
26
|
+
|
27
|
+
AtFileTest. testAtFileExpandedWithCommentsOff
|
28
|
+
|
29
|
+
AtFileTest. testAtFileExpandedWithNonDefaultCommentChar
|
30
|
+
|
31
|
+
AtFileTest. testAtFileNotExpandedIfDisabled
|
32
|
+
|
33
|
+
AtFileTest. testAtFileSimplified
|
34
|
+
|
35
|
+
AtFileTest. testAtFileSimplifiedWithQuotesTrimmed
|
36
|
+
|
37
|
+
AtFileTest. testAtFileWithExcapedAtValues
|
38
|
+
|
39
|
+
AtFileTest. testAtFileWithMultipleValuesPerLine
|
40
|
+
|
11
|
-
|
41
|
+
AtFileTest. testAtFileWithQuotedValuesContainingWhitespace
|
42
|
+
|
43
|
+
AtFileTest. testMultipleAtFilesExpandedMixedWithOtherParams
|
44
|
+
|
45
|
+
AtFileTest. testNestedAtFile
|
46
|
+
|
47
|
+
AtFileTest. testNestedAtFileNotFound
|
48
|
+
|
49
|
+
AtFileTest. testRecursiveNestedAtFileIgnored
|
50
|
+
|
51
|
+
```
|
52
|
+
|
53
|
+
|
12
54
|
|
13
55
|
|
14
56
|
|
15
57
|
```
|
16
58
|
|
17
|
-
|
59
|
+
------------------------------------------------------------
|
18
60
|
|
61
|
+
Gradle 7.1.1
|
62
|
+
|
19
|
-
|
63
|
+
------------------------------------------------------------
|
20
64
|
|
21
65
|
|
22
66
|
|
23
|
-
|
67
|
+
Build time: 2021-07-02 12:16:43 UTC
|
24
68
|
|
25
|
-
ルートプロジェクト「picocli」の評価で問題が発生しました。
|
26
|
-
|
27
|
-
|
69
|
+
Revision: 774525a055494e0ece39f522ac7ad17498ce032c
|
28
70
|
|
29
71
|
|
30
72
|
|
31
|
-
|
73
|
+
Kotlin: 1.4.31
|
32
74
|
|
33
|
-
|
75
|
+
Groovy: 3.0.7
|
34
76
|
|
77
|
+
Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020
|
35
78
|
|
79
|
+
JVM: 11.0.11 (Ubuntu 11.0.11+9-Ubuntu-0ubuntu2.20.04)
|
36
80
|
|
37
|
-
* https://help.gradle.orgでさらにヘルプを入手してください
|
38
|
-
|
39
|
-
```
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
```gradle
|
44
|
-
|
45
|
-
if (System.getenv('BINTRAY_USER')) { // on home system
|
46
|
-
|
47
|
-
36 apply plugin: 'biz.aQute.bnd.builder'
|
48
|
-
|
49
|
-
37 } else {
|
50
|
-
|
51
|
-
38 try { // otherwise, only apply if available
|
52
|
-
|
53
|
-
39 Class.forName('aQute.bnd.gradle.BndPlugin')
|
54
|
-
|
55
|
-
40 Class.forName('aQute.bnd.build.Project')
|
56
|
-
|
57
|
-
41 apply plugin: 'biz.aQute.bnd.builder'
|
58
|
-
|
59
|
-
42 } catch (Throwable ignored) {}
|
60
|
-
|
61
|
-
43 }
|
62
|
-
|
63
|
-
44 pluginManager.withPlugin('biz.aQute.bnd.builder') { // if plugin applied, execute this action
|
64
|
-
|
65
|
-
45 configurations {
|
66
|
-
|
67
|
-
46 bundleCompile
|
68
|
-
|
69
|
-
47 baseline
|
70
|
-
|
71
|
-
48 }
|
72
|
-
|
73
|
-
49 dependencies {
|
74
|
-
|
75
|
-
50 baseline('group': group, 'name': jar.archiveBaseName) {
|
76
|
-
|
77
|
-
51 version {
|
78
|
-
|
79
|
-
52 strictly "(,${jar.archiveVersion}["
|
80
|
-
|
81
|
-
53 }
|
82
|
-
|
83
|
-
|
81
|
+
OS: Linux 5.11.0-34-generic amd64
|
84
|
-
|
85
|
-
55 }
|
86
|
-
|
87
|
-
56 }
|
88
|
-
|
89
|
-
57 sourceSets {
|
90
|
-
|
91
|
-
58 bundle
|
92
|
-
|
93
|
-
59 }
|
94
|
-
|
95
|
-
60 task bundle(type: Bundle) {
|
96
|
-
|
97
|
-
61 from sourceSets.bundle.output
|
98
|
-
|
99
|
-
62 bndfile = 'bnd.bnd'
|
100
|
-
|
101
|
-
|
102
82
|
|
103
83
|
```
|
104
84
|
|
@@ -106,35 +86,19 @@
|
|
106
86
|
|
107
87
|
```
|
108
88
|
|
109
|
-
|
89
|
+
> Task :test FAILED
|
110
90
|
|
111
|
-
Starting a Gradle Daemon (subsequent builds will be faster)
|
112
91
|
|
113
|
-
<-------------> 0% INITIALIZING [0s]
|
114
|
-
|
115
|
-
<-------------> 0% INITIALIZING [0s]chan/ダウンロード/picocli/settings.gradle into local compilation cache > Compiling settings file '/<-------------> 0% INITIALIZING [0s]chan/ダウンロード/picocli/settings.gradle into local compilation cache > Compiling settings file '/<-------------> 0% CONFIGURING [1s]
|
116
|
-
|
117
|
-
Download https://jcenter.bintray.com/com/jfrog/bintray/gradle/gradle-bintray-plugin/maven-metadata.xmlcache > Compiling build file '/hoDownload https://plugins.gradle.org/m2/com/jfrog/bintray/gradle/gradle-bintray-plugin/maven-metadata.xml
|
118
|
-
|
119
|
-
<-------------> 0% CONFIGURING [17s]
|
120
|
-
|
121
|
-
<-------------> 0% CONFIGURING [17s]gurechan/ダウンロード/picocli/build.gradle into local compilation cache > Compiling build file '/ho<-------------> 0% CONFIGURING [17s]gurechan/ダウンロード/picocli/build.gradle into local compilation cache > Compiling build file '/ho
|
122
92
|
|
123
93
|
FAILURE: Build failed with an exception.
|
124
94
|
|
125
95
|
|
126
96
|
|
127
|
-
* Where:
|
128
|
-
|
129
|
-
Build file '/home/shigurechan/ダウンロード/picocli/build.gradle' line: 50
|
130
|
-
|
131
|
-
|
132
|
-
|
133
97
|
* What went wrong:
|
134
98
|
|
135
|
-
|
99
|
+
Execution failed for task ':test'.
|
136
100
|
|
137
|
-
>
|
101
|
+
> There were failing tests. See the report at: file:///home/shigurechan/ダウンロード/picocli/build/reports/tests/test/index.html
|
138
102
|
|
139
103
|
|
140
104
|
|
@@ -148,50 +112,22 @@
|
|
148
112
|
|
149
113
|
|
150
114
|
|
115
|
+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings
|
124
|
+
|
125
|
+
|
126
|
+
|
151
|
-
BUILD FAILED in
|
127
|
+
BUILD FAILED in 1m 1s
|
128
|
+
|
129
|
+
82 actionable tasks: 82 executed
|
152
130
|
|
153
131
|
|
154
132
|
|
155
133
|
```
|
156
|
-
|
157
|
-
Gradleバージョン
|
158
|
-
|
159
|
-
```
|
160
|
-
|
161
|
-
WARNING: An illegal reflective access operation has occurred
|
162
|
-
|
163
|
-
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/share/java/groovy-all.jar) to method java.lang.Object.finalize()
|
164
|
-
|
165
|
-
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
|
166
|
-
|
167
|
-
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
|
168
|
-
|
169
|
-
WARNING: All illegal access operations will be denied in a future release
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
------------------------------------------------------------
|
174
|
-
|
175
|
-
Gradle 4.4.1
|
176
|
-
|
177
|
-
------------------------------------------------------------
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
Build time: 2012-12-21 00:00:00 UTC
|
182
|
-
|
183
|
-
Revision: none
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
Groovy: 2.4.17
|
188
|
-
|
189
|
-
Ant: Apache Ant(TM) version 1.10.7 compiled on October 24 2019
|
190
|
-
|
191
|
-
JVM: 11.0.11 (Ubuntu 11.0.11+9-Ubuntu-0ubuntu2.20.04)
|
192
|
-
|
193
|
-
OS: Linux 5.11.0-34-generic amd64
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
```
|
2
文章を修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
参考サイト:
|
11
|
+
参考サイト:https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Jar.html#org.gradle.api.tasks.bundling.Jar:archiveBaseName
|
12
12
|
|
13
13
|
|
14
14
|
|
1
文章を修正しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -153,3 +153,45 @@
|
|
153
153
|
|
154
154
|
|
155
155
|
```
|
156
|
+
|
157
|
+
Gradleバージョン
|
158
|
+
|
159
|
+
```
|
160
|
+
|
161
|
+
WARNING: An illegal reflective access operation has occurred
|
162
|
+
|
163
|
+
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/share/java/groovy-all.jar) to method java.lang.Object.finalize()
|
164
|
+
|
165
|
+
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
|
166
|
+
|
167
|
+
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
|
168
|
+
|
169
|
+
WARNING: All illegal access operations will be denied in a future release
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
------------------------------------------------------------
|
174
|
+
|
175
|
+
Gradle 4.4.1
|
176
|
+
|
177
|
+
------------------------------------------------------------
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
Build time: 2012-12-21 00:00:00 UTC
|
182
|
+
|
183
|
+
Revision: none
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
Groovy: 2.4.17
|
188
|
+
|
189
|
+
Ant: Apache Ant(TM) version 1.10.7 compiled on October 24 2019
|
190
|
+
|
191
|
+
JVM: 11.0.11 (Ubuntu 11.0.11+9-Ubuntu-0ubuntu2.20.04)
|
192
|
+
|
193
|
+
OS: Linux 5.11.0-34-generic amd64
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
```
|