-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add KSP processor for enum generation * Add options to deprecate `values` property * Generate MessageStickerType * Generate ChannelType * Suppress errors for `HIDDEN` entries * Use annotation constructors, small other changes * Fix errors after merge * Include generated symbols in dokka output * Check ksp output into vcs * Rename `kordJvmOptions()` to `applyKordKotlinOptions()` * Hardcode deprecation level for values property * Wrapper class for annotation arguments * Rollback renames * Generate `AuditLogEvent` * Generate `AutoModerationRuleTriggerType`, `AutoModerationRuleKeywordPresetType`, `AutoModerationRuleEventType` and `AutoModerationActionType` * Generate `OverwriteType` and `VideoQualityMode` * Generate `ComponentType`, `ButtonStyle` and `TextInputStyle` * Generate `DiscordConnectionVisibility` * Generate `GuildFeature` * Generate `DefaultMessageNotificationLevel`, `ExplicitContentFilter`, `ExplicitContentFilter`, `VerificationLevel`, `NsfwLevel` and `PremiumTier` * Generate `GuildScheduledEventPrivacyLevel`, `ScheduledEntityType` and `GuildScheduledEventStatus` * Generate `IntegrationExpireBehavior` * Generate `InviteTargetType` * Add missing `GuildFeature.Commerce` * Generate `MessageType` * Generate `MessageActivityType` and `AllowedMentionType` * Generate `StageInstancePrivacyLevel` * Generate `UserPremium` * Generate `WebhookType` * Generate `ApplicationCommandType`, `ApplicationCommandOptionType`, `InteractionType`, `InteractionResponseType` and `ApplicationCommandPermissionType` * Fix test * Generate `PresenceStatus` and `TeamMembershipState` * Update dokka config for ksp * Gradle config formatting * Binary compatibility for `DiscordGuildApplicationCommandPermission.Type` * Add `@DslMarker` for scope control in KotlinPoet DSL * Remove comments * Binary compatibility for old public serializers * New order for KotlinPoet DSL * Add `toString` to all kord enums * Put `KordEnumProcessorProvider` and `KordEnumProcessor` into same file * Suppress "SpellCheckingInspection" and "GrazieInspection" in generated files * Add KDoc for `entries` and `value` * Generate `EmbedType` * Update dokka config * Remove double slash in dokka source links * `SOURCE` retention for `@KotlinPoetDsl`
- Loading branch information
1 parent
946610e
commit 10d8fc8
Showing
81 changed files
with
6,423 additions
and
1,743 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
.gradle/ | ||
.idea/ | ||
build/ | ||
out/ | ||
dokka/ | ||
|
||
**/build/* | ||
!**/build/generated/ | ||
# re-exclude BuildConfigGenerated.kt | ||
common/build/generated/source/buildConfig/main/main/dev/kord/common/BuildConfigGenerated.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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
plugins { | ||
kotlin("jvm") | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
tasks { | ||
withType<JavaCompile> { | ||
sourceCompatibility = Jvm.targetString | ||
targetCompatibility = Jvm.targetString | ||
} | ||
|
||
withType<KotlinCompile> { | ||
kotlinOptions { | ||
applyKordKotlinOptions() | ||
} | ||
} | ||
} |
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.