Skip to content

Commit 246432a

Browse files
committed
Annotate task properties
1 parent 8968431 commit 246432a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

base-plugin/src/main/groovy/com/github/jrubygradle/JRubyExec.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ class JRubyExec extends JavaExec implements JRubyExecTraits {
150150
* @throw {@code org.gradle.api.InvalidUserDataException} if mode of behaviour cannot be determined.
151151
*/
152152
@Override
153+
@Input
153154
@SuppressWarnings('UnnecessaryGetter')
154155
List<String> getArgs() {
155156
// just add the extra load-path even if it does not exists

base-plugin/src/main/groovy/com/github/jrubygradle/JRubyPrepare.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import org.gradle.api.DefaultTask
66
import org.gradle.api.artifacts.Configuration
77
import org.gradle.api.file.FileCollection
88
import org.gradle.api.tasks.InputFiles
9+
import org.gradle.api.tasks.Internal
910
import org.gradle.api.tasks.Optional
1011
import org.gradle.api.tasks.OutputDirectory
1112
import org.gradle.api.tasks.TaskAction
@@ -46,6 +47,7 @@ class JRubyPrepare extends DefaultTask {
4647
outputDir = f
4748
}
4849

50+
@Internal
4951
List<Object> dependencies = []
5052

5153
@Optional

0 commit comments

Comments
 (0)