Universal output directory
This commit is contained in:
parent
a29ffb252c
commit
28f73454c3
8
.github/workflows/gradle.yml
vendored
8
.github/workflows/gradle.yml
vendored
|
|
@ -22,9 +22,5 @@ jobs:
|
|||
run: ./gradlew --no-daemon build
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Forge
|
||||
path: forge/build/libs
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Fabric
|
||||
path: fabric/build/libs
|
||||
name: Package
|
||||
path: bin
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -77,7 +77,6 @@ fabric.properties
|
|||
### Eclipse ###
|
||||
*.pydevproject
|
||||
.metadata
|
||||
bin/
|
||||
tmp/
|
||||
*.tmp
|
||||
*.bak
|
||||
|
|
|
|||
1
bin/.gitignore
vendored
Normal file
1
bin/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
*.jar
|
||||
|
|
@ -61,6 +61,13 @@ remapJar {
|
|||
classifier null
|
||||
}
|
||||
|
||||
task copyJarToBin(type: Copy) {
|
||||
from remapJar // shortcut for createJar.outputs.files
|
||||
into rootProject.file("bin")
|
||||
}
|
||||
|
||||
tasks.build.dependsOn(copyJarToBin)
|
||||
|
||||
jar {
|
||||
classifier "dev"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -80,6 +80,13 @@ remapJar {
|
|||
classifier null
|
||||
}
|
||||
|
||||
task copyJarToBin(type: Copy) {
|
||||
from remapJar // shortcut for createJar.outputs.files
|
||||
into rootProject.file("bin")
|
||||
}
|
||||
|
||||
tasks.build.dependsOn(copyJarToBin)
|
||||
|
||||
jar {
|
||||
classifier "dev"
|
||||
manifest {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user