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;
|
package net.thauvin.erik;
|
||||||
|
|
||||||
import rife.bld.Project;
|
import rife.bld.Project;
|
||||||
|
import rife.bld.dependencies.Repository;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static rife.bld.dependencies.Repository.MAVEN_CENTRAL;
|
import static rife.bld.dependencies.Repository.*;
|
||||||
import static rife.bld.dependencies.Repository.RIFE2_RELEASES;
|
|
||||||
import static rife.bld.dependencies.Scope.*;
|
import static rife.bld.dependencies.Scope.*;
|
||||||
|
|
||||||
public class BldTesterBuild extends Project {
|
public class BldTesterBuild extends Project {
|
||||||
|
@ -18,12 +18,13 @@ public class BldTesterBuild extends Project {
|
||||||
javaRelease = 17;
|
javaRelease = 17;
|
||||||
|
|
||||||
downloadSources = true;
|
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)
|
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)
|
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)
|
scope(test)
|
||||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 2)))
|
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 2)))
|
||||||
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 2)));
|
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 2)));
|
||||||
|
|
|
@ -8,6 +8,6 @@ public class BldTesterMain {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getMessage() {
|
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