123456789101112131415161718192021222324252627282930313233343536 |
- apply plugin: 'java'
- defaultTasks('zip')
- sourceCompatibility = JavaVersion.VERSION_1_8
- sourceSets {
- mainSource {
- java {
- srcDir('dist/game/data/scripts')
- }
- }
- }
- repositories {
- mavenCentral()
- }
- dependencies {
- compile 'org.slf4j:slf4j-api:1.7.12'
- compile files('../L2J_Server/dist/libs/mmocore.jar')
- compile project(':L2J_Server')
- testCompile 'org.mockito:mockito-all:2.0.2-beta'
- testCompile 'org.testng:testng:6.9.6'
- }
- task zip(type: Zip) {
- def fileName = 'L2J_DataPack_' + new Date().format("yyyy-MM-dd")
- baseName = fileName
- from('dist')
- println 'Build in build/distributions/' + fileName + '.zip'
- }
- task wrapper(type: Wrapper) {
- gradleVersion = '2.6-rc-1'
- }
|