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
|
run: ./gradlew --no-daemon build
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Forge
|
name: Package
|
||||||
path: forge/build/libs
|
path: bin
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: Fabric
|
|
||||||
path: fabric/build/libs
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -77,7 +77,6 @@ fabric.properties
|
||||||
### Eclipse ###
|
### Eclipse ###
|
||||||
*.pydevproject
|
*.pydevproject
|
||||||
.metadata
|
.metadata
|
||||||
bin/
|
|
||||||
tmp/
|
tmp/
|
||||||
*.tmp
|
*.tmp
|
||||||
*.bak
|
*.bak
|
||||||
|
|
|
||||||
1
bin/.gitignore
vendored
Normal file
1
bin/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
*.jar
|
||||||
|
|
@ -61,6 +61,13 @@ remapJar {
|
||||||
classifier null
|
classifier null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task copyJarToBin(type: Copy) {
|
||||||
|
from remapJar // shortcut for createJar.outputs.files
|
||||||
|
into rootProject.file("bin")
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.build.dependsOn(copyJarToBin)
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
classifier "dev"
|
classifier "dev"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,13 @@ remapJar {
|
||||||
classifier null
|
classifier null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task copyJarToBin(type: Copy) {
|
||||||
|
from remapJar // shortcut for createJar.outputs.files
|
||||||
|
into rootProject.file("bin")
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.build.dependsOn(copyJarToBin)
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
classifier "dev"
|
classifier "dev"
|
||||||
manifest {
|
manifest {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user