Coder Social home page Coder Social logo

weka-package-template's Introduction

Weka Package Template

This repository serves as template for custom Weka packages.

Template Structure

Dependencies

If the package depends on a third party library which is available via maven, it can be added in the build.gradle dependency section:

dependencies {
   implementation group:"group-id", name:"artifact-id", version:"version"
}

Tests

JUnit test cases that reside in src/test/java can be started by running:

$ ./gradlew test

Generating an Installable Zip File

The Gradle build script provides the task makeZip to generate a zip file in ./dist/ via:

$ ./gradlew makeZip

ZIP content

The zip content is as follows:

.
├── Description.props
├── GenericPropertiesCreator.props
├── GUIEditors.props
├── lib
│   ├── ...
│   └── ...
├── src
│   └── main
│       └── java
│           └── weka
│               └── ...
└── weka-package-name-0.1.0.jar

If further files need to be included/excluded, the copyMisc task has to be extended with additional include and exclude statements.

Excluding Unnecessary Transitive Dependencies

The lib directory contains all dependencies specified in the gradle.build file. If, for some reason, a certain jar file is included in the lib directory that is not needed during runtime, it is possible to simply add an exclude statement in the copyLibs gradle task.

weka-package-template's People

Contributors

braun-steven avatar

Watchers

 avatar

Forkers

henrygouk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.