Skip to content

Commit

Permalink
[FIX]remove some dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
soulqw committed Jun 19, 2021
1 parent 5519a87 commit 313d6ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 105 deletions.
12 changes: 6 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
buildToolsVersion "29.0.0"
compileSdkVersion 30
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.qw.workflow"
minSdkVersion 15
targetSdkVersion 29
targetSdkVersion 30
versionCode 2
versionName "1.1"
}
Expand All @@ -20,9 +20,9 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.qw:workflow:0.0.4'
// implementation project(':workflow')
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.google.android.material:material:1.3.0'
}
102 changes: 3 additions & 99 deletions workflow/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 29
buildToolsVersion "29.0.0"
compileSdkVersion 30
buildToolsVersion "29.0.2"

defaultConfig {
minSdkVersion 15
targetSdkVersion 29
targetSdkVersion 30
versionCode 3
versionName "1.2"
}
Expand All @@ -19,99 +19,3 @@ android {

}


apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

def siteUrl = 'https://github.com/soulqw/WorkFlow'

def gitUrl = 'https://github.com/soulqw/WorkFlow.git'

def libName = "workflow"
group = "com.qw"
version = "0.0.4"

task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}

task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}

task copyDoc(type: Copy) {
from "${buildDir}/docs/"
into "docs"
}

artifacts {
archives javadocJar
archives sourcesJar
}

install {
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
pom {
project {
packaging 'aar'
name 'is permission tool for android'
url siteUrl
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id 'soulqw'
name 'qinwei'
email 'cd5160866@gmail.com'
}
}
scm {
connection gitUrl
developerConnection gitUrl
url siteUrl
}
}
}
}
}

Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())

bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
configurations = ['archives']
pkg {
repo = "AndroidFrame"
name = libName
desc = 'simplify your method coupling in android'
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = ["Apache-2.0"]
publish = true
}
}

javadoc {
options {
encoding "UTF-8"
charSet 'UTF-8'
author true
version true
links "http://docs.oracle.com/javase/7/docs/api"
}
}

0 comments on commit 313d6ed

Please sign in to comment.