-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
why
committed
Mar 26, 2024
1 parent
adbcab8
commit dad009a
Showing
13 changed files
with
205 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,4 @@ | ||
## For more details on how to configure your build environment visit | ||
# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
# | ||
# Specifies the JVM arguments used for the daemon process. | ||
# The setting is particularly useful for tweaking memory settings. | ||
# Default value: -Xmx1024m -XX:MaxPermSize=256m | ||
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | ||
# | ||
# When configured, Gradle will run in incubating parallel mode. | ||
# This option should only be used with decoupled projects. For more details, visit | ||
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects | ||
# org.gradle.parallel=true | ||
#Sun Dec 10 16:25:48 CST 2023 | ||
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M" -Dfile.encoding\=UTF-8 | ||
android.nonTransitiveRClass=true | ||
android.useAndroidX=true | ||
kotlin.code.style=official | ||
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M" -Dfile.encoding\=UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
lib-common/src/main/java/com/xiaoyv/common/api/response/GithubActionEntity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.xiaoyv.common.api.response | ||
|
||
import android.os.Parcelable | ||
|
||
import kotlinx.parcelize.Parcelize | ||
|
||
import androidx.annotation.Keep | ||
|
||
import com.google.gson.annotations.SerializedName | ||
|
||
|
||
@Keep | ||
@Parcelize | ||
data class GithubActionEntity( | ||
@SerializedName("artifacts") var artifacts: List<Artifact>? = null, | ||
@SerializedName("total_count") var totalCount: Int = 0 | ||
) : Parcelable { | ||
|
||
@Keep | ||
@Parcelize | ||
data class Artifact( | ||
@SerializedName("archive_download_url") var archiveDownloadUrl: String? = null, | ||
@SerializedName("created_at") var createdAt: String? = null, | ||
@SerializedName("expired") var expired: Boolean = false, | ||
@SerializedName("expires_at") var expiresAt: String? = null, | ||
@SerializedName("id") var id: Long = 0, | ||
@SerializedName("name") var name: String? = null, | ||
@SerializedName("node_id") var nodeId: String? = null, | ||
@SerializedName("size_in_bytes") var sizeInBytes: Long = 0, | ||
@SerializedName("updated_at") var updatedAt: String? = null, | ||
@SerializedName("url") var url: String? = null, | ||
@SerializedName("workflow_run") var workflowRun: WorkflowRun? = null | ||
) : Parcelable | ||
|
||
@Keep | ||
@Parcelize | ||
data class WorkflowRun( | ||
@SerializedName("head_branch") var headBranch: String? = null, | ||
@SerializedName("head_repository_id") var headRepositoryId: Long = 0, | ||
@SerializedName("head_sha") var headSha: String? = null, | ||
@SerializedName("id") var id: Long = 0, | ||
@SerializedName("repository_id") var repositoryId: Long = 0 | ||
) : Parcelable | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.