2022-08-18 16:50:06 +00:00
|
|
|
plugins {
|
|
|
|
id("java")
|
2022-11-02 23:31:17 +00:00
|
|
|
id("org.jetbrains.intellij") version "1.10.0-SNAPSHOT"
|
2022-08-18 16:50:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "com.anas.intellij.plugins.ayah"
|
2022-11-02 23:31:17 +00:00
|
|
|
version = "0.0.9"
|
2022-08-18 16:50:06 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven("https://jitpack.io")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-11-02 21:06:04 +00:00
|
|
|
implementation("com.github.anas-elgarhy:alquran-cloud-api:0.4.0-v1") // TODO: fix this
|
2022-08-19 15:38:28 +00:00
|
|
|
implementation("com.miglayout:miglayout-swing:11.0")
|
2022-08-21 08:26:46 +00:00
|
|
|
// implementation("com.github.goxr3plus:java-stream-player:10.0.2")
|
|
|
|
implementation("com.googlecode.soundlibs:jlayer:1.0.1.4")
|
2022-08-24 14:11:46 +00:00
|
|
|
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.24")
|
|
|
|
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
|
|
|
|
|
|
|
testImplementation("org.projectlombok:lombok:1.18.24")
|
|
|
|
testAnnotationProcessor("org.projectlombok:lombok:1.18.24")
|
2022-08-20 07:52:12 +00:00
|
|
|
}
|
|
|
|
java {
|
2022-11-02 23:31:17 +00:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
2022-08-18 16:50:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Configure Gradle IntelliJ Plugin
|
|
|
|
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
|
|
|
|
intellij {
|
2022-11-02 23:31:17 +00:00
|
|
|
version.set("LATEST-EAP-SNAPSHOT")
|
2022-08-18 16:50:06 +00:00
|
|
|
type.set("IC") // Target IDE Platform
|
2022-08-20 16:16:34 +00:00
|
|
|
downloadSources.set(true)
|
2022-08-18 16:50:06 +00:00
|
|
|
|
|
|
|
plugins.set(listOf(/* Plugin Dependencies */))
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
// Set the JVM compatibility versions
|
|
|
|
withType<JavaCompile> {
|
2022-08-24 11:38:45 +00:00
|
|
|
options.encoding = "UTF-8"
|
2022-11-02 23:31:17 +00:00
|
|
|
sourceCompatibility = "17"
|
|
|
|
targetCompatibility = "17"
|
2022-08-18 16:50:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
patchPluginXml {
|
2022-11-02 23:31:17 +00:00
|
|
|
sinceBuild.set("223")
|
2022-11-02 20:07:29 +00:00
|
|
|
untilBuild.set("223.*")
|
2022-08-18 16:50:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
signPlugin {
|
|
|
|
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
|
|
|
|
privateKey.set(System.getenv("PRIVATE_KEY"))
|
|
|
|
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
|
|
|
|
}
|
|
|
|
|
|
|
|
publishPlugin {
|
|
|
|
token.set(System.getenv("PUBLISH_TOKEN"))
|
|
|
|
}
|
|
|
|
}
|