Inspired by Ayat on vscode by Hussam Adil.
diff --git a/build.gradle.kts b/build.gradle.kts index d4c5ad2..6195e2f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,10 +1,16 @@ +import org.jetbrains.changelog.Changelog +import org.jetbrains.changelog.markdownToHTML + +fun properties(key: String) = project.findProperty(key).toString() + plugins { id("java") - id("org.jetbrains.intellij") version "1.9.0" + id("org.jetbrains.intellij") version "1.12.0" + id("org.jetbrains.changelog") version "2.0.0" } -group = "com.anas.intellij.plugins.ayah" -version = "0.0.8" +version = properties("pluginVersion") +group = properties("pluginGroup") repositories { mavenCentral() @@ -12,7 +18,7 @@ repositories { } dependencies { - implementation("com.github.anas-elgarhy:alquran-cloud-api:0.4.0-v1") // TODO: fix this + implementation("com.github.anas-elgarhy:alquran-cloud-api:0.4.1-v1") implementation("com.miglayout:miglayout-swing:11.0") // implementation("com.github.goxr3plus:java-stream-player:10.0.2") implementation("com.googlecode.soundlibs:jlayer:1.0.1.4") @@ -24,16 +30,16 @@ dependencies { testAnnotationProcessor("org.projectlombok:lombok:1.18.24") } java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } // Configure Gradle IntelliJ Plugin // Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html intellij { - version.set("2022.2.1") - type.set("IC") // Target IDE Platform - downloadSources.set(true) + pluginName.set(properties("pluginName")) + version.set(properties("platformVersion")) + type.set(properties("platformType")) plugins.set(listOf(/* Plugin Dependencies */)) } @@ -42,22 +48,49 @@ tasks { // Set the JVM compatibility versions withTypeGet a verse(an ayah) from the Quran during your coding session 💻 stay connected with the words of Allah. 🤍
-وَلا تَكُونُوا كَالَّذِينَ نَسُوا اللَّهَ فَأَنْسَاهُمْ أَنْفُسَهُمْ أُولَئِكَ هُمُ الْفَاسِقُونَ
-Inspired by Ayat on vscode by Hussam Adil.
- ]]>