Skip to content

Commit

Permalink
[feature] change gradle plugin version.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangshichang committed Jul 5, 2021
1 parent 15c0fda commit 23f422e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
24 changes: 15 additions & 9 deletions plugin/PeaPod/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
apply plugin: 'groovy'
apply plugin: 'maven-publish'

dependencies {
compile gradleApi()
compile localGroovy()
compile fileTree(dir: 'libs', include: ['*.jar'])
}
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation gradleApi()
implementation localGroovy()

buildscript {
repositories {
jcenter()
}
dependencies {
}

afterEvaluate {
publishing {
publications {
maven(MavenPublication) {
groupId = 'tech.jackywang'
artifactId = 'peapods'
version = '0.0.3'
from components.java
}
}
}
}
8 changes: 2 additions & 6 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:3.6.0'
}
}

Expand All @@ -15,8 +15,4 @@ allprojects {
google()
jcenter()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}
}

0 comments on commit 23f422e

Please sign in to comment.