Skip to content

Commit

Permalink
Merge pull request #508 from RedrockMobile/lyt/bugfix/new_release
Browse files Browse the repository at this point in the history
🐛 修复cyxbsRelease发版任务失败问题
  • Loading branch information
985892345 authored Nov 26, 2024
2 parents 9dbe946 + 462b3a1 commit b5bf2cb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import okhttp3.MultipartBody
import okhttp3.OkHttpClient
import okhttp3.RequestBody.Companion.asRequestBody
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.TaskAction
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
Expand Down Expand Up @@ -58,6 +59,7 @@ open class CyxbsReleaseTask : DefaultTask() {

private val netService = retrofit.create(TaskService::class.java)

@Input
var getApkFile: (() -> File?)? = null // 由外界任务执行者设置

@TaskAction
Expand Down

0 comments on commit b5bf2cb

Please sign in to comment.