Guice Classpath Scanner

A simple classpath scanner for Guice

License

License

Categories

Categories

GUI User Interface Guice Application Layer Libs Dependency Injection
GroupId

GroupId

com.richodemus.scanner
ArtifactId

ArtifactId

guice-classpath-scanner
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Guice Classpath Scanner
A simple classpath scanner for Guice
Project URL

Project URL

https://github.com/RichoDemus/guice-classpath-scanner
Source Code Management

Source Code Management

https://github.com/RichoDemus/guice-classpath-scanner

Download guice-classpath-scanner

How to add to project

<!-- https://jarcasting.com/artifacts/com.richodemus.scanner/guice-classpath-scanner/ -->
<dependency>
    <groupId>com.richodemus.scanner</groupId>
    <artifactId>guice-classpath-scanner</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.richodemus.scanner/guice-classpath-scanner/
implementation 'com.richodemus.scanner:guice-classpath-scanner:1.0.0'
// https://jarcasting.com/artifacts/com.richodemus.scanner/guice-classpath-scanner/
implementation ("com.richodemus.scanner:guice-classpath-scanner:1.0.0")
'com.richodemus.scanner:guice-classpath-scanner:jar:1.0.0'
<dependency org="com.richodemus.scanner" name="guice-classpath-scanner" rev="1.0.0">
  <artifact name="guice-classpath-scanner" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.richodemus.scanner', module='guice-classpath-scanner', version='1.0.0')
)
libraryDependencies += "com.richodemus.scanner" % "guice-classpath-scanner" % "1.0.0"
[com.richodemus.scanner/guice-classpath-scanner "1.0.0"]

Dependencies

compile (3)

Group / Artifact Type Version
com.google.inject : guice jar 4.1.0
org.reflections : reflections jar 0.9.10
org.slf4j : slf4j-api jar 1.7.21

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
ch.qos.logback : logback-classic jar 1.1.7

Project Modules

There are no modules declared in this project.

guice-classpath-scanning

Maven Central
An attempt at getting classpath scanning in Guice

Using

Maven

<groupId>com.richodemus.scanner</groupId>
<artifactId>guice-classpath-scanner</artifactId>
<version>1.0.0</version>

Gradle

compile 'com.richodemus.scanner:guice-classpath-scanner:1.0.0'

Code

Guice.createInjector(new ClassPathScanningModule("com.yourpackage"));

Development

Building

./gradlew

Finding outdated dependencies

./gradlew dependencyUpdates

Signing and uploading

You'll need a gradle.properties with the following contents

signing.keyId=24875D73
signing.password=secret
signing.secretKeyRingFile=/Users/me/.gnupg/secring.gpg

ossrhUsername=your-jira-id
ossrhPassword=your-jira-password

and then run

./gradlew uploadArchives

Versions

Version
1.0.0