mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Remove and disable unused modules
This commit is contained in:
parent
8117b228ee
commit
0cf07edc2d
12 changed files with 11 additions and 20 deletions
|
@ -72,8 +72,7 @@ dependencies {
|
|||
testImplementation project(':core')
|
||||
}
|
||||
|
||||
Arrays.stream(file("$rootDir/ext").list())
|
||||
.map(l -> project(":$l")).forEach(p -> {
|
||||
project.allExtensions.forEach(p -> {
|
||||
dependencies {
|
||||
testCompileOnly p
|
||||
}
|
||||
|
@ -117,8 +116,7 @@ test {
|
|||
}
|
||||
|
||||
|
||||
def extensionJarDepList = Arrays.stream(file("$rootDir/ext").list())
|
||||
.map(l -> project(":$l").getTasksByName('jar', true)).toList();
|
||||
def extensionJarDepList = project.allExtensions.stream().map(p -> p.getTasksByName('jar', true)).toList();
|
||||
|
||||
jar {
|
||||
finalizedBy(extensionJarDepList)
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 55 KiB |
Binary file not shown.
Before Width: | Height: | Size: 201 KiB |
|
@ -22,6 +22,9 @@ def getArchName() {
|
|||
project.ext {
|
||||
ci = System.getenv('CI') != null
|
||||
os = org.gradle.internal.os.OperatingSystem.current()
|
||||
allExtensions = Arrays.stream(file("$rootDir/ext").list())
|
||||
.filter(s -> !s.equals('csv') && !s.equals('office') && !s.equals('pdx') && !s.equals('jackson') && !s.equals('collections'))
|
||||
.map(l -> project(":$l")).toList()
|
||||
fullVersion = file("$rootDir/private_files.txt").exists()
|
||||
arch = getArchName()
|
||||
privateExtensions = file("$rootDir/private_extensions.txt").exists() ? file("$rootDir/private_extensions.txt").readLines() : []
|
||||
|
|
1
dist/changelogs/0.0.1.1.txt
vendored
1
dist/changelogs/0.0.1.1.txt
vendored
|
@ -1 +0,0 @@
|
|||
Initial Release!
|
1
dist/changelogs/0.0.1.2.txt
vendored
1
dist/changelogs/0.0.1.2.txt
vendored
|
@ -1 +0,0 @@
|
|||
Initial Release!
|
2
dist/changelogs/0.0.1.3.txt
vendored
2
dist/changelogs/0.0.1.3.txt
vendored
|
@ -1,2 +0,0 @@
|
|||
- Improve data store creation on the CLI
|
||||
- Fix many bugs
|
4
dist/changelogs/0.0.1.4.txt
vendored
4
dist/changelogs/0.0.1.4.txt
vendored
|
@ -1,4 +0,0 @@
|
|||
- Fix native library loading
|
||||
- Fix automatic updater
|
||||
- Fixes for headless systems
|
||||
- Fix many bugs
|
2
dist/changelogs/0.0.1.5.txt
vendored
2
dist/changelogs/0.0.1.5.txt
vendored
|
@ -1,2 +0,0 @@
|
|||
- Polish CLI
|
||||
- Fix many bugs
|
1
dist/changelogs/0.0.1.txt
vendored
1
dist/changelogs/0.0.1.txt
vendored
|
@ -1 +0,0 @@
|
|||
Initial Release!
|
3
dist/jpackage.gradle
vendored
3
dist/jpackage.gradle
vendored
|
@ -95,8 +95,7 @@ jlink {
|
|||
tasks.named('jlink').get().dependsOn(rootProject.getTasksByName("jar", true))
|
||||
|
||||
def outputName = org.gradle.internal.os.OperatingSystem.current().isMacOsX() ? 'xpiped.app/Contents/Resources' : 'xpiped'
|
||||
def extModules = Arrays.asList(file("$rootDir/ext").list()).stream()
|
||||
.map(l -> project(":$l")).toList()
|
||||
def extModules = project.allExtensions.toList()
|
||||
task copyBundledExtensions(type: DefaultTask,
|
||||
dependsOn: extModules.stream().map { it.getTasksByName('createExtOutput', true)[0] }.toList()) {
|
||||
doLast {
|
||||
|
|
|
@ -8,9 +8,11 @@ copyRuntimeLibs.dependsOn(addDependenciesModuleInfo)
|
|||
jar.dependsOn(copyRuntimeLibs)
|
||||
|
||||
def dev = tasks.register('createDevOutput', Copy) {
|
||||
var source = "${project.jar.destinationDirectory.get()}"
|
||||
from source
|
||||
into "${project.rootDir}/app/build/ext_dev/$project.name"
|
||||
if (project.allExtensions.contains(project)) {
|
||||
var source = "${project.jar.destinationDirectory.get()}"
|
||||
from source
|
||||
into "${project.rootDir}/app/build/ext_dev/$project.name"
|
||||
}
|
||||
}
|
||||
jar.finalizedBy(dev)
|
||||
|
||||
|
|
Loading…
Reference in a new issue