From 2be34f79b23ebafa494eb3d2a1134807c3048425 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Thu, 2 Mar 2023 15:55:36 +0100 Subject: [PATCH] Example code - removed application service --- CHANGELOG.md | 3 +++ .../template/services/MyApplicationService.kt | 13 ------------- src/main/resources/META-INF/plugin.xml | 1 - 3 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 src/main/kotlin/org/jetbrains/plugins/template/services/MyApplicationService.kt diff --git a/CHANGELOG.md b/CHANGELOG.md index 837470c..453de5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ ### Fixed - Resolving the content for the `patchPluginXML.changeNotes` proeprty +### Removed +- Example code - application service + ## [1.4.0] - 2023-01-13 ### Changed diff --git a/src/main/kotlin/org/jetbrains/plugins/template/services/MyApplicationService.kt b/src/main/kotlin/org/jetbrains/plugins/template/services/MyApplicationService.kt deleted file mode 100644 index c2935de..0000000 --- a/src/main/kotlin/org/jetbrains/plugins/template/services/MyApplicationService.kt +++ /dev/null @@ -1,13 +0,0 @@ -package org.jetbrains.plugins.template.services - -import org.jetbrains.plugins.template.MyBundle - -class MyApplicationService { - - init { - println(MyBundle.message("applicationService")) - - System.getenv("CI") - ?: TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.") - } -} diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 86646de..e7f5927 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -9,7 +9,6 @@ messages.MyBundle -