Get tests passing, and recent version (#65)

diff --git a/build.gradle b/build.gradle
index 562e4d7..9780342 100644
--- a/build.gradle
+++ b/build.gradle
@@ -25,8 +25,8 @@
 
 dependencies {
     // App dependencies.
-    implementation "org.apache.beam:beam-sdks-java-core:2.45.0"
-    implementation "org.apache.beam:beam-runners-direct-java:2.44.0"
+    implementation "org.apache.beam:beam-sdks-java-core:2.46.0"
+    implementation "org.apache.beam:beam-runners-direct-java:2.46.0"
     implementation "org.slf4j:slf4j-jdk14:1.7.32"
 
     // Tests dependencies.
@@ -36,7 +36,7 @@
 
 // Package a self-contained jar file.
 jar {
-    baseName = 'pipeline'
+    archiveBaseName = 'pipeline'
     destinationDirectory = file('build')
     manifest {
         attributes 'Main-Class': 'com.example.App'
diff --git a/build.sbt b/build.sbt
index ff79e18..308083f 100644
--- a/build.sbt
+++ b/build.sbt
@@ -8,7 +8,7 @@
 
 mainClass := Some("com.example.App")
 
-val beamVersion = "2.42.0"
+val beamVersion = "2.46.0"
 libraryDependencies ++= Seq(
   // App dependencies.
   "org.apache.beam" % "beam-sdks-java-core" % beamVersion,
diff --git a/pom.xml b/pom.xml
index 027c4e3..85ab39b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -80,13 +80,13 @@
     <dependency>
       <groupId>org.apache.beam</groupId>
       <artifactId>beam-sdks-java-core</artifactId>
-      <version>2.45.0</version>
+      <version>2.46.0</version>
     </dependency>
 
     <dependency>
       <groupId>org.apache.beam</groupId>
       <artifactId>beam-runners-direct-java</artifactId>
-      <version>2.44.0</version>
+      <version>2.46.0</version>
       <scope>runtime</scope>
     </dependency>