Skip to content

Commit

Permalink
updated theme
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Mar 31, 2021
1 parent 9752708 commit c9b9646
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 118 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "theme"]
path = theme
url = https://github.com/CCBlueX/LiquidBounce-GUI.git
13 changes: 3 additions & 10 deletions build.gradle
Expand Up @@ -67,6 +67,8 @@ dependencies {

implementation fileTree(include: ['*.jar'], dir: 'libs')

implementation project(":theme")

// Test libraries

testImplementation "org.junit.jupiter:junit-jupiter:5.7.0"
Expand Down Expand Up @@ -110,25 +112,17 @@ task sourcesJar(type: Jar, dependsOn: classes) {
from sourceSets.main.allSource
}

task packageDefaultTheme(type: Zip) {
archiveFileName = "default_theme.zip"
destinationDirectory = file("$buildDir/resources/main/assets/liquidbounce")

from "$buildDir/resources/main/assets/liquidbounce/themes/default"
}

shadowJar {
archiveClassifier.set('shadow')

// Natives are going to be downloaded from our cloud
exclude "native-binaries/*"
// Themes are being zipped
exclude "assets/liquidbounce/themes"

dependencies {
include(dependency('com.labymedia:ultralight-java-base'))
include(dependency('com.labymedia:ultralight-java-databind'))
include(dependency('com.thealtening.api:api'))
include(project(":theme"))
}
}

Expand All @@ -142,6 +136,5 @@ task remapShadow(type: RemapJarTask, dependsOn: shadowJar) {
addNestedDependencies.set(remapJar.addNestedDependencies)
}

build.dependsOn packageDefaultTheme
build.dependsOn remapShadow

2 changes: 2 additions & 0 deletions settings.gradle
Expand Up @@ -33,3 +33,5 @@ pluginManagement {
}

}

include "theme"

This file was deleted.

This file was deleted.

Binary file not shown.
1 change: 1 addition & 0 deletions theme
Submodule theme added at 62497f

0 comments on commit c9b9646

Please sign in to comment.