mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-25 10:25:50 +07:00
269f283c9b
Changed to standard gradle src directory structure Changed some working directories to work properly with gradle tasks Changed MPQViewer asset path to empty string
22 lines
502 B
Groovy
22 lines
502 B
Groovy
import io.netifi.flatbuffers.plugin.tasks.FlatBuffers
|
|
|
|
apply plugin: "java"
|
|
apply plugin: "idea"
|
|
apply plugin: "io.netifi.flatbuffers"
|
|
|
|
sourceCompatibility = 1.7
|
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
|
|
|
sourceSets.main.java.srcDirs += file('gen/')
|
|
idea {
|
|
module {
|
|
generatedSourceDirs += file('gen/')
|
|
}
|
|
}
|
|
|
|
task createFlatBuffers(type: FlatBuffers) {
|
|
inputDir = file('src/main/java/com/riiablo/net/')
|
|
outputDir = file('gen/main/java/')
|
|
language = 'java'
|
|
}
|