mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-03 12:53:48 +07:00
Buildscript cleanup
This commit is contained in:
parent
ace6eed653
commit
0929593efc
15
build.gradle
15
build.gradle
@ -319,32 +319,27 @@ project(":core"){
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar, dependsOn: classes){
|
||||
classifier = 'sources'
|
||||
archiveClassifier = 'sources'
|
||||
from sourceSets.main.allSource
|
||||
}
|
||||
|
||||
task assetsJar(type: Jar, dependsOn: ":tools:pack"){
|
||||
classifier = 'assets'
|
||||
archiveClassifier = 'assets'
|
||||
from files("assets"){
|
||||
exclude "config"
|
||||
exclude "cache"
|
||||
exclude "music"
|
||||
exclude "sounds"
|
||||
exclude "config", "cache", "music", "sounds"
|
||||
}
|
||||
}
|
||||
|
||||
task musicJar(type: Jar){
|
||||
classifier = 'music'
|
||||
archiveClassifier = 'music'
|
||||
from files("assets"){
|
||||
include "music/*"
|
||||
include "sounds/*"
|
||||
include "music/*", "sounds/*"
|
||||
}
|
||||
}
|
||||
|
||||
artifacts{
|
||||
archives sourcesJar
|
||||
archives assetsJar
|
||||
archives musicJar
|
||||
}
|
||||
|
||||
dependencies{
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=2e35f7b6bda1d3dea4ee1ae95db76cce37bae506
|
||||
archash=c3e170325ca836f1939653ffbc01e76de9c6eb35
|
||||
|
Loading…
Reference in New Issue
Block a user