Using bitly-shorten latest SNAPSHOT
This commit is contained in:
parent
f8dbf3350b
commit
f009f9ebd6
3 changed files with 14 additions and 7 deletions
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
|
@ -1,11 +1,11 @@
|
|||
package net.thauvin.erik;
|
||||
|
||||
import rife.bld.Project;
|
||||
import rife.bld.dependencies.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static rife.bld.dependencies.Repository.MAVEN_CENTRAL;
|
||||
import static rife.bld.dependencies.Repository.RIFE2_RELEASES;
|
||||
import static rife.bld.dependencies.Repository.*;
|
||||
import static rife.bld.dependencies.Scope.*;
|
||||
|
||||
public class BldTesterBuild extends Project {
|
||||
|
@ -18,12 +18,13 @@ public class BldTesterBuild extends Project {
|
|||
javaRelease = 17;
|
||||
|
||||
downloadSources = true;
|
||||
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
|
||||
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES,
|
||||
new Repository("https://oss.sonatype.org/content/repositories/snapshots/"));
|
||||
|
||||
scope(compile)
|
||||
.include(dependency("net.thauvin.erik:bitly-shorten:0.9.3"));
|
||||
.include(dependency("net.thauvin.erik:bitly-shorten:0.9.4-SNAPSHOT"));
|
||||
scope(runtime)
|
||||
.include(dependency("net.thauvin.erik:bitly-shorten:0.9.3"));
|
||||
.include(dependency("net.thauvin.erik:bitly-shorten:0.9.4-SNAPSHOT"));
|
||||
scope(test)
|
||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 2)))
|
||||
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 2)));
|
||||
|
@ -32,4 +33,4 @@ public class BldTesterBuild extends Project {
|
|||
public static void main(String[] args) {
|
||||
new BldTesterBuild().start(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@ public class BldTesterMain {
|
|||
}
|
||||
|
||||
public String getMessage() {
|
||||
return new Bitlinks("blah").create("https://example.com/");
|
||||
return new Bitlinks("blah").shorten("https://www.example.com/");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue