#gradle remove redundant gradle file

This commit is contained in:
hyongbai 2019-05-27 18:30:32 +08:00
parent 8f065c6d8b
commit 1f3bdc66a7
3 changed files with 0 additions and 139 deletions

View File

@ -1,86 +0,0 @@
/*
* Copyright (C) 2005-2017 Qihoo 360 Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed To in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*
*/
//
apply plugin: 'com.jfrog.bintray'
apply plugin: 'maven-publish'
def baseUrl = 'https://github.com/Qihoo360/RePlugin'
def siteUrl = baseUrl
def gitUrl = "${baseUrl}/RePlugin"
def issueUrl = "${gitUrl}/issues"
install {
repositories {
mavenInstaller {
// This generates POM.xml with proper paramters
pom.project {
//
name 'Gradle Plugin 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 {
name 'replugin'
email 'replugin@gmail.com'
}
}
scm {
connection gitUrl
developerConnection gitUrl
url siteUrl
}
}
}
}
}
//Bintray相关信息
bintray {
user = ""
key = ""
configurations = ['archives']
pkg {
repo = '' //
name = '' // jcenter
userOrg = ''
desc = 'RePlugin - A flexible, stable, easy-to-use Android Plug-in Framework' //
websiteUrl = siteUrl
issueTrackerUrl = issueUrl
vcsUrl = gitUrl
labels = ['gradle', 'plugin']
licenses = ['Apache-2.0']
publish = true
}
}

View File

@ -1,28 +0,0 @@
/*
* Copyright (C) 2005-2017 Qihoo 360 Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed To in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
ext {
config = this.&readConfig()
}
def readConfig() {
Properties configProperties = new Properties()
file('config.properties').withInputStream {
configProperties.load(it)
}
configProperties
}

View File

@ -1,25 +0,0 @@
#
# Copyright (C) 2005-2017 Qihoo 360 Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed To in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
#
repoUrl =
groupId = com.qihoo360.replugin
artifactId = replugin-host-gradle
version = 2.1.0
username =
password =