Browse Source

Compile fix

master v1.6.38
jens 2 months ago
parent
commit
6593f6c923
  1. 10
      .idea/runConfigurations.xml
  2. 4
      app/build.gradle
  3. 13
      app/src/fdroidFlavor/java/com/jens/automation2/Rule.java
  4. 2
      build.gradle
  5. 4
      fastlane/metadata/android/en-US/changelogs/108.txt
  6. 2
      gradle/wrapper/gradle-wrapper.properties

10
.idea/runConfigurations.xml

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
</set>
</option>
</component>
</project>

4
app/build.gradle

@ -11,8 +11,8 @@ android {
compileSdkVersion 29
buildToolsVersion '29.0.2'
useLibrary 'org.apache.http.legacy'
versionCode 107
versionName "1.6.36"
versionCode 108
versionName "1.6.38"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

13
app/src/fdroidFlavor/java/com/jens/automation2/Rule.java

@ -224,6 +224,19 @@ public class Rule implements Comparable<Rule>
return XmlFileInterface.writeFile();
}
public boolean cloneRule(Context context)
{
Rule newRule = new Rule();
newRule.setName(this.getName() + " - clone");
newRule.setRuleActive(this.isRuleActive());
newRule.setRuleToggle(this.isRuleToggle());
newRule.setTriggerSet(this.getTriggerSet());
newRule.setActionSet(this.getActionSet());
return newRule.create(context);
}
private boolean checkBeforeSaving(Context context, boolean changeExistingRule)
{

2
build.gradle

@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

4
fastlane/metadata/android/en-US/changelogs/108.txt

@ -0,0 +1,4 @@
* Translations updated.
* New action: Vibrate
* Improved speed calculation
* Position of tabbar can be chosen (top/bottom)

2
gradle/wrapper/gradle-wrapper.properties

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip

Loading…
Cancel
Save