Skip to content

Commit

Permalink
Remove unused ProtobufExtract.isTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ejona86 committed Sep 6, 2022
1 parent 11587b3 commit 2d436d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import org.gradle.api.file.FileCollection
import org.gradle.api.file.FileTree
import org.gradle.api.logging.Logger
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.Property
import org.gradle.api.provider.ProviderFactory
import org.gradle.api.tasks.InputFiles
import org.gradle.api.tasks.Internal
Expand All @@ -65,12 +64,6 @@ abstract class ProtobufExtract extends DefaultTask {
@OutputDirectory
public abstract DirectoryProperty getDestDir()

/**
* Used to configure ide proto sources.
*/
@Internal
public abstract Property<Boolean> getIsTest()

/**
* Input for this tasks containing all archive files to extract.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ class ProtobufPlugin implements Plugin<Project> {
it.description = "Extracts proto files/dependencies specified by 'protobuf' configuration"
it.destDir.set(getExtractedProtosDir(sourceSetName) as File)
it.inputFiles.from(protobufConfig)
it.isTest.set(Utils.isTest(sourceSetName))
}
}

Expand Down Expand Up @@ -431,7 +430,6 @@ class ProtobufPlugin implements Plugin<Project> {
// configuration, not just 'testCompile'.
it.inputFiles.from project.sourceSets[sourceSetOrVariantName].compileClasspath
}
it.isTest = Utils.isTest(sourceSetOrVariantName)
}
}

Expand Down

0 comments on commit 2d436d9

Please sign in to comment.