1.0.0
This commit is contained in:
1 parent
5532f33f82
commit
8e16b05c76
1761 files changed
+317
-3319
No files matched your search
+57
-66
@@ -1,121 +1,112 @@
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
id("org.jetbrains.intellij") version "0.4.21"
|
||||
id("org.jetbrains.intellij") version "1.17.2"
|
||||
java
|
||||
kotlin("jvm") version "1.4.0"
|
||||
kotlin("jvm") version "1.9.0"
|
||||
}
|
||||
|
||||
val kotlinVersion = "1.4.0"
|
||||
val kotlinBukkitAPIVersion = "0.2.0-SNAPSHOT"
|
||||
val bukkriptVersion = "0.2.0-SNAPSHOT"
|
||||
val kotlinVersion = "1.9.0"
|
||||
val kotlinBukkitAPIVersion = "1.0.0.2"
|
||||
|
||||
group = "br.com.devsrsouza.kotlinbukkitapi"
|
||||
version = "0.0.7"
|
||||
group = "tech.carcadex.kotlinbukkitkit"
|
||||
version = "0.0.2"
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenLocal()
|
||||
maven("http://nexus.devsrsouza.com.br/repository/maven-public/")
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(kotlin("stdlib-jdk8"))
|
||||
|
||||
val changing = Action<ExternalModuleDependency> { isChanging = true }
|
||||
api("br.com.devsrsouza.bukkript:script-definition-embedded:$bukkriptVersion", changing)
|
||||
|
||||
testCompile("junit", "junit", "4.12")
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.0")
|
||||
}
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = "2020.2.1"
|
||||
|
||||
setPlugins("java", "Kotlin")
|
||||
// version = "2023.3.3"
|
||||
version.set("2023.3.3")
|
||||
plugins.set(listOf("java", "Kotlin"))
|
||||
}
|
||||
|
||||
configure<JavaPluginConvention> {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
tasks.withType<KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = "17"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
tasks {
|
||||
compileJava {
|
||||
sourceCompatibility = "17"
|
||||
targetCompatibility = "17"
|
||||
}
|
||||
jar {
|
||||
duplicatesStrategy = (DuplicatesStrategy.EXCLUDE)
|
||||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
compileKotlin {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
compileTestKotlin {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
runIde {
|
||||
jbrVersion.set("jbr_jcef-17.0.9-windows-x64-b1087.11")
|
||||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
publishPlugin {
|
||||
token(System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken"))
|
||||
token.set(System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken"))
|
||||
channels.set(listOf("stable"))
|
||||
}
|
||||
}
|
||||
tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") {
|
||||
sinceBuild("201")
|
||||
untilBuild("203.*")
|
||||
|
||||
pluginDescription("""
|
||||
|
||||
pluginDescription.set("""
|
||||
<img src="https://github.com/DevSrSouza/KotlinBukkitAPI/raw/master/logo.png" width="417" height="161"/>
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
The KotlinBukkitAPI Tooling is plugin for IntelliJ that helps
|
||||
The KotlinBukkitKit Tooling is plugin for IntelliJ that helps
|
||||
<br />
|
||||
developers using <a href="https://github.com/DevSrSouza/KotlinBukkitAPI">KotlinBukkitAPI</a> and scripts for <a href="https://github.com/DevSrSouza/Bukkript">Bukkript</a>.
|
||||
developers using <a href="https://github.com/CarcadeX/KotlinBukkitKit-Tooling</a>.
|
||||
<br />
|
||||
This libraries help build extensions for Minecraft Server using Spigot server.
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
<ul>
|
||||
<li><a href='https://github.com/DevSrSouza/Bukkript'>Bukkript</a></li>
|
||||
|
||||
<li<a href='https://github.com/CarcadeX/KotlinBukkitKit'>KotlinBukkitKit</a></li>
|
||||
<li<a href='https://github.com/DevSrSouza/KotlinBukkitAPI-Tooling'>KotlinBukkitAPI-Tooling (this plugin)</a></li>
|
||||
<li<a href='https://github.com/DevSrSouza/KotlinBukkitAPI'>KotlinBukkitAPI</a></li>
|
||||
<li><a href='https://github.com/KotlinMinecraft/KotlinBukkitAPI-Examples'>KotlinBukkitAPI Examples</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
|
||||
<h3>Demonstration</h3>
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
<img src="https://i.imgur.com/exlwVUs.gif" width='680' height='390'/>
|
||||
""".trimIndent())
|
||||
|
||||
|
||||
changeNotes("""
|
||||
<h3>0.0.6</h3>
|
||||
<br />
|
||||
|
||||
<ul>
|
||||
<li>Update the embedded version of Bukkript and KotlinBukkitAPI.</li>
|
||||
<li>Adding KotlinBukkitAPI 0.2.0-SNAPSHOT to the Project Wizard.</li>
|
||||
<li>Improving overall performance of Menu Preview.</li>
|
||||
</ul>
|
||||
|
||||
<h3>0.0.5</h3>
|
||||
<br />
|
||||
|
||||
<ul>
|
||||
<li>Menu Preview support for 1.13+ Material enum.</li>
|
||||
<li>Increase Menu Preview performance</li>
|
||||
</ul>
|
||||
|
||||
<br />
|
||||
|
||||
<h3>0.0.3</h3>
|
||||
<br />
|
||||
|
||||
changeNotes.set("""
|
||||
<h3>0.0.1</h3>
|
||||
|
||||
<ul>
|
||||
<li>KotlinBukkitAPI Project Wizard</li>
|
||||
<li>Menu Preview tab only avaiable on projects that was KotlinBukkitAPI or is a Bukkript script.</li>
|
||||
<li>Custom folder icons for highlight the Bukkript related folders.</li>
|
||||
<li>Menu Preview tab only avaiable on projects that was KotlinBukkitAPI.</li>
|
||||
</ul>
|
||||
""".trimIndent())
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy.cacheChangingModulesFor(120, "seconds")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user