diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/bld/java/net/thauvin/erik/BldTesterBuild.java b/src/bld/java/net/thauvin/erik/BldTesterBuild.java index ff2d903..084d9d3 100644 --- a/src/bld/java/net/thauvin/erik/BldTesterBuild.java +++ b/src/bld/java/net/thauvin/erik/BldTesterBuild.java @@ -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); } -} \ No newline at end of file +} diff --git a/src/main/java/net/thauvin/erik/BldTesterMain.java b/src/main/java/net/thauvin/erik/BldTesterMain.java index d0122c8..c9624de 100644 --- a/src/main/java/net/thauvin/erik/BldTesterMain.java +++ b/src/main/java/net/thauvin/erik/BldTesterMain.java @@ -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/"); } } \ No newline at end of file