Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Jul 15, 2024
1 parent 523d59f commit b6e51e2
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 25 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/gradle_build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# This workflow ensures the building step works
#
# @author Armin Schnabel
# @version 1.0.3
# @since 5.0.0
name: Gradle Build

on:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/gradle_connected-tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# This workflow ensures the connected tests keep working
#
# @author Armin Schnabel
# @version 1.0.0
# @since 7.4.0
name: Gradle Connected Tests

on:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/gradle_publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# This workflow publishes a new version to the Github Registry.
#
# @author Armin Schnabel
# @version 1.1.0
# @since 5.0.0
name: Gradle Publish

on:
Expand Down
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2023 Cyface GmbH
* Copyright 2017-2024 Cyface GmbH
*
* This file is part of the Cyface SDK for Android.
*
Expand All @@ -21,8 +21,6 @@
*
* @author Armin Schnabel
* @author Klemens Muthmann
* @version 2.11.0
* @since 1.0.0
*/

buildscript {
Expand Down
4 changes: 1 addition & 3 deletions testutils/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019-2023 Cyface GmbH
* Copyright 2019-2024 Cyface GmbH
*
* This file is part of the Cyface SDK for Android.
*
Expand All @@ -20,8 +20,6 @@
* Gradle's build file for the module which contains cross cutting code used by all other modules.
*
* @author Armin Schnabel
* @version 1.3.0
* @since 3.0.0
*/
plugins {
id 'com.android.library'
Expand Down
14 changes: 1 addition & 13 deletions testutils/src/main/kotlin/de/cyface/testutils/SharedTestUtils.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018-2023 Cyface GmbH
* Copyright 2018-2024 Cyface GmbH
*
* This file is part of the Cyface SDK for Android.
*
Expand Down Expand Up @@ -27,7 +27,6 @@ import android.util.Log
import com.google.protobuf.ByteString
import com.google.protobuf.InvalidProtocolBufferException
import de.cyface.model.Point3DImpl
import de.cyface.model.RequestMetaData
import de.cyface.persistence.Constants
import de.cyface.persistence.Database
import de.cyface.persistence.DefaultPersistenceLayer
Expand Down Expand Up @@ -64,8 +63,6 @@ import java.util.UUID
* It's located in the main folder to be compiled and imported as dependency in the testImplementations.
*
* @author Armin Schnabel
* @version 9.0.0
* @since 3.0.0
*/
object SharedTestUtils {
/**
Expand Down Expand Up @@ -159,15 +156,6 @@ object SharedTestUtils {
)
}

@JvmStatic
fun generateRequestMetaDataGeoLocation(
distanceFromBase: Int,
timestamp: Long
): RequestMetaData.GeoLocation {
val location = generateGeoLocation(distanceFromBase, timestamp)
return RequestMetaData.GeoLocation(location.timestamp, location.lat, location.lon)
}

/**
* Inserts a test [de.cyface.persistence.model.ParcelablePoint3D] into the database content provider accessed by the test.
*
Expand Down

0 comments on commit b6e51e2

Please sign in to comment.