Skip to content

Commit

Permalink
Updated Intellij Version #15
Browse files Browse the repository at this point in the history
  • Loading branch information
Fawaz Joseph authored and Fawaz Joseph committed Apr 4, 2023
1 parent 9daff81 commit 6f1547d
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 10 deletions.
Binary file not shown.
Empty file.
Binary file removed .gradle/7.1/executionHistory/executionHistory.bin
Binary file not shown.
Binary file removed .gradle/7.1/executionHistory/executionHistory.lock
Binary file not shown.
Binary file removed .gradle/7.1/fileChanges/last-build.bin
Binary file not shown.
Binary file removed .gradle/7.1/fileHashes/fileHashes.bin
Binary file not shown.
Binary file removed .gradle/7.1/fileHashes/fileHashes.lock
Binary file not shown.
Empty file removed .gradle/7.1/gc.properties
Empty file.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified .gradle/checksums/checksums.lock
Binary file not shown.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Changelog

## [Unreleased]
### Changed
- Removed deprecated constructor
- Updated Intellij Version
- Updated Intellij Gradle version
- Updated Kotlin Version

## [1.0.5]
### Changed
- Updated Intellij Version
### Changed
- Updated Intellij Version
- Updated Intellij Gradle version

## [1.0.4]
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ plugins {
// Java support
id("java")
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.6.0"
id("org.jetbrains.kotlin.jvm") version "1.8.10"
// Gradle IntelliJ Plugin
id("org.jetbrains.intellij") version "1.10.0"
id("org.jetbrains.intellij") version "1.13.3"
// Gradle Changelog Plugin
id("org.jetbrains.changelog") version "1.3.1"
}
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ kotlin.code.style=official
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
pluginGroup=com.github.fawaz.flutter-freezed-snippets
pluginName=flutter-freezed-snippets
pluginVersion=1.0.5
pluginVersion=1.0.6


# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild = 203
pluginUntilBuild = 223.*
pluginUntilBuild = 231.*

# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
platformType = IC
platformVersion = 2022.3
platformVersion = 2023.1

# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.intellij.codeInsight.template.TemplateActionContext
import com.intellij.codeInsight.template.TemplateContextType

class FlutterContext private constructor() :
TemplateContextType("FLUTTER_FREEZED_SNIPPETS", "Flutter Freezed snippets") {
TemplateContextType("Flutter Freezed snippets") {
override fun isInContext(templateActionContext: TemplateActionContext): Boolean {
return templateActionContext.file.name.endsWith(".dart")
}
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

<extensions defaultExtensionNs="com.intellij">
<defaultLiveTemplates file="/liveTemplates/Flutter.xml"/>
<liveTemplateContext implementation="com.fawaz.github.flutterfreezedsnippets.FlutterContext" />
<liveTemplateContext implementation="com.fawaz.github.flutterfreezedsnippets.FlutterContext"
contextId="com.fawaz.github.flutterfreezedsnippets.FLUTTER_FREEZED_SNIPPETS"/>
</extensions>

<actions>
Expand Down

0 comments on commit 6f1547d

Please sign in to comment.