Skip to content

Commit

Permalink
Remove PathSensitive annotations having no effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanchon committed Jun 22, 2020
1 parent 009817a commit 261955b
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ For smali/baksmali info, see: https://github.com/JesusFreke/smali

@PathSensitive(PathSensitivity.RELATIVE)
@Optional @InputDirectory final DirectoryProperty frameworkInDir = project.objects.directoryProperty()

@PathSensitive(PathSensitivity.RELATIVE)
@OutputDirectory final DirectoryProperty frameworkOutDir = project.objects.directoryProperty()

AbstractApktoolTask(String command) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class BuildApkTask extends AbstractApktoolTask {

@PathSensitive(PathSensitivity.NONE)
@InputDirectory final DirectoryProperty inputDir = project.objects.directoryProperty()
@PathSensitive(PathSensitivity.NONE)
@OutputFile final RegularFileProperty apkFile = project.objects.fileProperty()

@PathSensitive(PathSensitivity.NONE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class DecodeApkTask extends AbstractApktoolTask {

@PathSensitive(PathSensitivity.NAME_ONLY)
@InputFile final RegularFileProperty apkFile = project.objects.fileProperty()
@PathSensitive(PathSensitivity.NONE)
@OutputDirectory final DirectoryProperty outputDir = project.objects.directoryProperty()

@Optional @Input final Property<String> frameworkTag = project.objects.property(String)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,8 @@ class Dex2jarTask extends AbstractDex2jarTask {

@PathSensitive(PathSensitivity.NAME_ONLY)
@InputFiles final ConfigurableFileCollection dexFiles = project.files()
@PathSensitive(PathSensitivity.NONE)
@Optional @OutputFile final RegularFileProperty outputFile = project.objects.fileProperty()
@PathSensitive(PathSensitivity.NONE)
@Optional @OutputDirectory final DirectoryProperty outputDir = project.objects.directoryProperty()
@PathSensitive(PathSensitivity.NONE)
@Optional @OutputFile final RegularFileProperty exceptionFile = project.objects.fileProperty()

@Input final Property<Boolean> translateCode = project.objects.property(Boolean).value(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ class DexpatcherTask extends AbstractJavaExecTask {
@Optional @InputFiles final Property<FileSystemLocation> patch = project.objects.property(FileSystemLocation)
@PathSensitive(PathSensitivity.NONE)
@Optional @InputFiles final ListProperty<FileSystemLocation> patches = project.objects.listProperty(FileSystemLocation)
@PathSensitive(PathSensitivity.NONE)
@Optional @OutputFile final RegularFileProperty outputFile = project.objects.fileProperty()
@PathSensitive(PathSensitivity.NONE)
@Optional @OutputDirectory final DirectoryProperty outputDir = project.objects.directoryProperty()

@Input final Property<Integer> apiLevel = project.objects.property(Integer).value(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class ProcessIdMappingsTask extends DefaultTask {

@PathSensitive(PathSensitivity.RELATIVE)
@InputFile final RegularFileProperty publicXmlFile = project.objects.fileProperty()
@PathSensitive(PathSensitivity.NONE)
@OutputDirectory final DirectoryProperty outputDir = project.objects.directoryProperty()

@PathSensitive(PathSensitivity.RELATIVE)
Expand Down

0 comments on commit 261955b

Please sign in to comment.