Skip to content

Commit

Permalink
add cast
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhee17 committed Jul 29, 2023
1 parent 6394cd0 commit ea56d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/scripts/lib/java-rpc-thrift.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ configure(projectsWithFlags('java')) {
def scope = sourceSet.name
// Create the task assuming the source directory exists
// so that subprojects can refer to the task.
CompileThriftTask task = project.tasks.create([
def task = project.tasks.create([
name: sourceSet.getTaskName('compile', 'thrift'),
group: 'Build',
description: "Compiles the ${sourceSet.name} .thrift files.",
type: CompileThriftTask.class,
])
]) as CompileThriftTask

def sourcesJarTask = project.tasks.findByName(sourceSet.getTaskName('sources', 'jar'))
if (sourcesJarTask) {
Expand Down

0 comments on commit ea56d9e

Please sign in to comment.