Skip to content

Commit

Permalink
更新构建工具
Browse files Browse the repository at this point in the history
  • Loading branch information
aiselp committed Aug 15, 2023
1 parent e6ecf16 commit 4d3c9c6
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 19 deletions.
1 change: 1 addition & 0 deletions apkbuilder/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ android {
)
}
}
namespace = "com.stardust.autojs.apkbuilder"


}
Expand Down
3 changes: 1 addition & 2 deletions apkbuilder/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.stardust.autojs.apkbuilder">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:allowBackup="true"
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import java.util.*
import java.io.File
import java.util.Properties

plugins {
id("com.android.application")
Expand Down Expand Up @@ -166,6 +165,7 @@ android {
)
)
}
namespace = "org.autojs.autoxjs"

}

Expand Down
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.autojs.autoxjs">
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Expand Down
1 change: 1 addition & 0 deletions autojs/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ android {
res.srcDirs("src/main/res","src/main/res-i18n")
}
}
namespace = "com.stardust.autojs"
}

dependencies {
Expand Down
3 changes: 1 addition & 2 deletions autojs/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"
package="com.stardust.autojs">
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Expand Down
1 change: 1 addition & 0 deletions automator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ android {
jniLibs.srcDirs("/libs")
}
}
namespace = "com.stardust.automator"
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion automator/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"

package="com.stardust.automator">
>

<application android:supportsRtl="true">

Expand Down
4 changes: 1 addition & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.dsl.copyFreeCompilerArgsToArgs

initVersions(file("project-versions.json"))

// Top-level build file where you can add configuration options common to all sub-projects/modules.
Expand All @@ -24,7 +22,7 @@ buildscript {
// maven { url = uri("https://jitpack.io") }
}
dependencies {
classpath("com.android.tools.build:gradle:7.2.1")
classpath("com.android.tools.build:gradle:8.0.2")
classpath(kotlin("gradle-plugin", version = "$kotlin_version"))
classpath("com.jakewharton:butterknife-gradle-plugin:10.2.3")
classpath("org.codehaus.groovy:groovy-json:3.0.8")
Expand Down
1 change: 1 addition & 0 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ android {
res.srcDirs("src/main/res","src/main/res-i18n")
}
}
namespace = "com.stardust"
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion common/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"

package="com.stardust">
>

<application
android:allowBackup="true"
Expand Down
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ org.gradle.caching=true

android.useAndroidX=true
android.enableJetifier=true
android.useDeprecatedNdk=true
android.useDeprecatedNdk=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
1 change: 1 addition & 0 deletions inrt/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ android {
)

}
namespace = "org.autojs.autoxjs.inrt"


}
Expand Down
3 changes: 1 addition & 2 deletions inrt/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.autojs.autoxjs.inrt">
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name= "android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Expand Down
1 change: 1 addition & 0 deletions paddleocr/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ android {
jniLibs.srcDirs("src/main/jniLibs")
}
}
namespace = "org.autojs.autoxjs.paddleocr"
}

dependencies {
Expand Down
3 changes: 1 addition & 2 deletions paddleocr/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.autojs.autoxjs.paddleocr">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>

0 comments on commit 4d3c9c6

Please sign in to comment.