-
Notifications
You must be signed in to change notification settings - Fork 10
Download
Rodion Moiseev edited this page Mar 9, 2020
·
19 revisions
Please use the latest release version 1.3.
The latest version can be downloaded from Maven.
Currently there are three jars for you to download:
-
c10n-core
- Contains the main API and functionality (required) -
c10n-ext-guice
- Contains Guice integration module (optional) -
c10n-tools
- Contains c10n inspection module primarily for unit testing (optional)
Add the dependency and repository to your pom.xml
.
<dependency>
<groupId>com.github.rodionmoiseev.c10n</groupId>
<artifactId>c10n-core</artifactId>
<version>1.3</version>
</dependency>
<!-- optional Guice integration module -->
<dependency>
<groupId>com.github.rodionmoiseev.c10n</groupId>
<artifactId>c10n-ext-guice</artifactId>
<version>1.3</version>
</dependency>
<!-- optional c10n tools module -->
<dependency>
<groupId>com.github.rodionmoiseev.c10n</groupId>
<artifactId>c10n-tools</artifactId>
<version>1.3</version>
</dependency>
Add to your build.gradle
.
repositories{
mavenCentral()
}
dependencies {
compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-core', version: '1.3'
//Optional Guice integration module
compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-ext-guice', version: '1.3'
//Optional c10n tools module
compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-tools', version: '1.3'
}
Add the dependency and the resolver to your Build.scala
.
"c10n" % "c10n-core" % "1.3" withSources()
- Version 1.2 is available from Maven Central
- Version 1.1 can only be found here: master/c10n-mvn-repo/releases/c10n/c10n-core/1.1
Just grab the latest snapshot jar from the snapshot repository, or use one of methods below.
Add the dependency and repository to your pom.xml
.
<dependency>
<groupId>com.github.rodionmoiseev.c10n</groupId>
<artifactId>c10n-core</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>
<!-- optional Guice integration module -->
<dependency>
<groupId>com.github.rodionmoiseev.c10n</groupId>
<artifactId>c10n-ext-guice</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>
<!-- optional c10n tools module -->
<dependency>
<groupId>com.github.rodionmoiseev.c10n</groupId>
<artifactId>c10n-tools</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>
And somewhere in <repositories> ... </repositories>
add:
<repository>
<id>c10n-snapshots</id>
<name>C10N Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<layout>default</layout>
<releases>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
Add to your build.gradle
.
repositories{
maven{
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-core', version: '1.4-SNAPSHOT'
//Optional Guice integration module
compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-ext-guice', version: '1.4-SNAPSHOT'
//Optional c10n tools module
compile group: 'com.github.rodionmoiseev.c10n', name: 'c10n-tools', version: '1.4-SNAPSHOT'
}
Add the dependency and the resolver to your Build.scala
.
"com.github.rodionmoiseev.c10n" % "c10n-core" % "1.4-SNAPSHOT" withSources()
resolvers += "C10N" at "https://oss.sonatype.org/content/repositories/snapshots/"