Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: weishu <[email protected]>
  • Loading branch information
tiann committed Oct 14, 2024
1 parent 4afdfe7 commit 550e36e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.novoda:bintray-release:0.9'
classpath 'com.android.tools.build:gradle:7.1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Mon Oct 14 16:13:31 CST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Empty file modified gradlew
100644 → 100755
Empty file.
23 changes: 13 additions & 10 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ android {
}
}

packageBuildConfig = false

buildTypes {
release {
minifyEnabled false
Expand All @@ -44,13 +42,18 @@ dependencies {
androidTestImplementation 'junit:junit:4.12'
}

apply plugin: 'com.novoda.bintray-release'
apply plugin: 'maven-publish'

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
groupId = 'me.weishu'
artifactId = 'free_reflection'
version = '3.1.0'

publish {
userOrg = 'twsxtd'
groupId = 'me.weishu'
artifactId = 'free_reflection'
publishVersion = '3.1.0'
desc = 'Use Relection above Android P without any restriction'
website = 'https://github.com/tiann/FreeRelfection'
from components.release
}
}
}
}

0 comments on commit 550e36e

Please sign in to comment.