Skip to content

Commit

Permalink
Revert "updated the file KMLTrackExporter" (#16)
Browse files Browse the repository at this point in the history
Reverts rilling#14
  • Loading branch information
beingtranquil authored Feb 14, 2024
2 parents 7e89c26 + 8bce549 commit b6307d8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 30 deletions.
26 changes: 1 addition & 25 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@

apply plugin: 'com.android.application'

buildscript {
ext {
// agp_version = '8.1.1'
agp_version1 = '8.2.2'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$agp_version1"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1"
classpath 'com.android.tools.build:gradle:8.2.1'
}
}

Expand Down Expand Up @@ -152,21 +146,3 @@ dependencies {

androidTestUtil 'androidx.test:orchestrator:1.4.2'
}

apply plugin: "org.sonarqube"

sonarqube {
properties {
property "sonar.projectName", "OpenTracksConcordia"
property "sonar.projectKey", "OpenTracksConcordia"
property "sonar.tests", ["src/androidTest/java"]
property "sonar.test.inclusions", "/Test/"
property "sonar.sourceEncoding", "UTF-8"
property "sonar.sources", "src/main/java"
property "sonar.exclusions", '/Test/,' +
'.json,' +
'/test/,' +
'/.gradle/*,' +
'**/R.class'
}
}
2 changes: 0 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1024m
systemProp.sonar.host.url=http://localhost:9000/
systemProp.sonar.login=sqp_21d5dc587b44717aa16271b72561cfebccef30e7
1 change: 0 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#Sat Feb 10 17:55:40 EST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void run() {
}
});

viewBinding.exportProgressRightButton.setOnClickListener(view -> {
viewBinding.exportProgressRightButton.setOnClickListener((view) -> {
setConflictVisibility(View.GONE);
conflict.overwrite();
conflictsQueue.remove(conflict);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class KMLTrackExporter implements TrackExporter {
public static final String EXTENDED_DATA_TYPE_ALTITUDE_LOSS = "elevation_loss";
public static final String EXTENDED_DATA_TYPE_ACCURACY_HORIZONTAL = "accuracy_horizontal";
public static final String EXTENDED_DATA_TYPE_ACCURACY_VERTICAL = "accuracy_vertical";
public static final String constant_var = "<open>1</open>";

private static final NumberFormat SENSOR_DATA_FORMAT = NumberFormat.getInstance(Locale.US);

static {
Expand Down

0 comments on commit b6307d8

Please sign in to comment.