hepek-core

Core of hepek

License

License

GroupId

GroupId

ba.sake
ArtifactId

ArtifactId

hepek-core
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

hepek-core
Core of hepek
Project URL

Project URL

http://sake.ba
Project Organization

Project Organization

ba.sake
Source Code Management

Source Code Management

https://github.com/sake92/hepek-core

Download hepek-core

How to add to project

<!-- https://jarcasting.com/artifacts/ba.sake/hepek-core/ -->
<dependency>
    <groupId>ba.sake</groupId>
    <artifactId>hepek-core</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/ba.sake/hepek-core/
implementation 'ba.sake:hepek-core:0.2.0'
// https://jarcasting.com/artifacts/ba.sake/hepek-core/
implementation ("ba.sake:hepek-core:0.2.0")
'ba.sake:hepek-core:jar:0.2.0'
<dependency org="ba.sake" name="hepek-core" rev="0.2.0">
  <artifact name="hepek-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='ba.sake', module='hepek-core', version='0.2.0')
)
libraryDependencies += "ba.sake" % "hepek-core" % "0.2.0"
[ba.sake/hepek-core "0.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
ba.sake : hepek-classycle jar 0.0.1

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.0.4

Project Modules

There are no modules declared in this project.

hepek-core

Maven Central

Usage

  • Add to deps:
libraryDependencies ++= Seq(
  "ba.sake" % "hepek-core" % "0.2.0"
)

What is it?

Core of the sbt-hepek. This project contains two interfaces (Renderable and RelativePath) and a single helper class (ClassycleDependencyUtils).

Interfaces are essential to the sbt-hepek:

  • All objects that are meant to be rendered must extend Renderable
  • RelativePath is used for getting a relative path to a Renderable or another file (css, js or whatever)

The ClassycleDependencyUtils class has one handy method called reverseDependencies that returns Map[AtomicVertex, Set[AtomicVertex]]. Vertices here are actually Java bytecode classes.

It is used for optimized rendering of objects. When an object is changed and compiled, this method determines which other objects use it, so that they are rendered again too.

Special thanks to Classycle! :)

Versions

Version
0.2.0
0.1.1
0.0.4
0.0.3
0.0.1