-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Project exclude paths | ||
/.gradle/ | ||
/build/ | ||
/build/classes/java/main/ | ||
# Project exclude paths | ||
/.gradle/ | ||
/build/ | ||
/build/classes/java/main/ | ||
/out/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="JAVA_MODULE" version="4" /> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Main-Class: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,63 @@ | ||
apply plugin: 'java' | ||
apply plugin: 'kotlin' | ||
|
||
group = pluginGroup | ||
version = pluginVersion | ||
|
||
sourceCompatibility = '1.8' | ||
targetCompatibility = '1.8' | ||
|
||
repositories { | ||
mavenCentral() | ||
maven { | ||
name = 'sonatype' | ||
url = 'https://oss.sonatype.org/content/groups/public/' | ||
} | ||
maven { | ||
name = 'sonatype' | ||
url = 'https://oss.sonatype.org/content/groups/public/' | ||
} | ||
} | ||
|
||
dependencies { | ||
testCompile group: 'junit', name: 'junit', version: '4.12' | ||
compileOnly 'net.md-5:bungeecord-api:1.15-SNAPSHOT' | ||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | ||
} | ||
|
||
import org.apache.tools.ant.filters.ReplaceTokens | ||
|
||
sourceSets { | ||
main.java.srcDirs += 'src/main/kotlin' | ||
main.java.srcDirs += 'src/main/java' | ||
} | ||
|
||
processResources { | ||
from(sourceSets.main.resources.srcDirs) { | ||
filter ReplaceTokens, tokens: [version: version] | ||
} | ||
} | ||
|
||
buildscript { | ||
ext{ | ||
kotlin_version = '1.3.61' | ||
} | ||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
} | ||
} | ||
|
||
jar { | ||
from { | ||
configurations.compile.collect { | ||
it.isDirectory() ? it : zipTree(it) | ||
} | ||
} | ||
apply plugin: 'java' | ||
apply plugin: 'kotlin' | ||
|
||
group = pluginGroup | ||
version = pluginVersion | ||
|
||
sourceCompatibility = '1.8' | ||
targetCompatibility = '1.8' | ||
|
||
repositories { | ||
mavenCentral() | ||
maven { | ||
name = 'sonatype' | ||
url = 'https://oss.sonatype.org/content/groups/public/' | ||
} | ||
maven { | ||
name = 'sonatype' | ||
url = 'https://oss.sonatype.org/content/groups/public/' | ||
} | ||
maven { | ||
url = 'https://jitpack.io' | ||
} | ||
} | ||
|
||
dependencies { | ||
testCompile group: 'junit', name: 'junit', version: '4.12' | ||
compileOnly 'net.md-5:bungeecord-api:1.15-SNAPSHOT' | ||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | ||
implementation 'com.github.Tea-Ayataka:Kordis:0.2.3' | ||
} | ||
|
||
import org.apache.tools.ant.filters.ReplaceTokens | ||
|
||
sourceSets { | ||
main.java.srcDirs += 'src/main/kotlin' | ||
main.java.srcDirs += 'src/main/java' | ||
} | ||
|
||
processResources { | ||
from(sourceSets.main.resources.srcDirs) { | ||
filter ReplaceTokens, tokens: [version: version] | ||
} | ||
} | ||
|
||
buildscript { | ||
ext{ | ||
kotlin_version = '1.3.61' | ||
} | ||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
} | ||
} | ||
|
||
jar { | ||
from { | ||
configurations.compile.collect { | ||
it.isDirectory() ? it : zipTree(it) | ||
} | ||
} | ||
} |