Skip to content

Commit

Permalink
feat:update submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartDengg committed Nov 21, 2018
1 parent a8a0aa0 commit 24948ac
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
9 changes: 6 additions & 3 deletions click-debounce-gradle-plugin/gradle-plugin.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
apply plugin: 'groovy'
apply plugin: 'com.github.dcendents.android-maven'

group = 'com.github.SmartDengg'

//noinspection GroovyUnusedAssignment
sourceCompatibility = JavaVersion.VERSION_1_7
sourceCompatibility = JavaVersion.VERSION_1_8
//noinspection GroovyUnusedAssignment
targetCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_8

repositories {
jcenter()
Expand All @@ -12,7 +15,7 @@ repositories {
}

ext {
androidPluginVersion = '3.1.3'
androidPluginVersion = '3.2.1'
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ class DebounceGradlePlugin implements Plugin<Project> {
url "https://jitpack.io"
}

// project.configurations.implementation.dependencies.add(
// project.dependencies.create(project.rootProject.findProject("click-debounce-runtime")))

project.configurations.implementation.dependencies.add(
project.dependencies.create(project.rootProject.findProject("click-debounce-runtime")))
project.dependencies.create('com.github.SmartDengg:asm-clickdebounce-runtime:1.0.0'))

project.extensions["${DebounceExtension.NAME}"] = project.objects.newInstance(DebounceExtension)

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include ':click-debounce-sample', ':buildSrc',
include ':click-debounce-runtime'
project(':click-debounce-runtime').projectDir = new File('runtime/click-debounce-runtime')

settings.rootProject.name = 'click-debounce-compiler'
settings.rootProject.name = 'debounce-compiler'

def initBuildFile(def projects) {
projects.each {
Expand Down

0 comments on commit 24948ac

Please sign in to comment.