Skip to content

Commit

Permalink
Upgrade to Core24
Browse files Browse the repository at this point in the history
  • Loading branch information
JGCarroll committed Sep 26, 2024
1 parent 4b21723 commit 0636cab
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: weka
base: core22
base: core24
version: '3.8.6'
summary: The workbench for machine learning
license: GPL-3.0
Expand All @@ -11,8 +11,6 @@ description: |
Official builds may be downloaded at https://www.cs.waikato.ac.nz/ml/weka/
grade: stable
confinement: strict
architectures:
- build-on: amd64
compression: lzo

parts:
Expand All @@ -22,24 +20,21 @@ parts:
source-type: git
source-commit: d49c085b51d93d5e26ca929fa763b3f684bf91eb
source-subdir: weka
build-environment:
- JAVA_HOME: '/usr/lib/jvm/java-1.17.0-openjdk-amd64/'
build-packages:
- maven
- default-jdk
- openjdk-17-jdk
stage-packages:
- default-jre
- openjdk-17-jre
maven-parameters:
- -DskipTests=true
build-environment:
- JAVA_HOME: '/usr/lib/jvm/java-1.11.0-openjdk-amd64/'
override-prime: |
craftctl default
rm usr/lib/jvm/java-11-openjdk-amd64/lib/security/blacklisted.certs

apps:
weka:
command: bin/java weka.gui.GUIChooser
environment:
JAVA_OPTS: -Xms128m -Xmx2048m
JAVA_OPTS: -Xms512m -Xmx4098m -Djava.security.manager=allow
CLASSPATH: $SNAP/jar/*
extensions: [gnome]
plugs:
Expand Down

0 comments on commit 0636cab

Please sign in to comment.