mirror of
https://gitee.com/replugin/RePlugin.git
synced 2024-12-02 03:38:06 +08:00
e44e8b0524
2、gradle升级到3.5.4 3、64位适配 4、优化部分崩溃问题
55 lines
1.4 KiB
Groovy
55 lines
1.4 KiB
Groovy
/*
|
|
* 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: 'java'
|
|
apply plugin: 'groovy'
|
|
apply plugin: 'maven'
|
|
apply plugin: 'maven-publish'
|
|
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
|
|
classpath 'com.github.dcendents:android-maven-plugin:1.2'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.tools.build:gradle:3.5.4'
|
|
compile 'org.json:json:20160212'
|
|
compile 'org.codehaus.groovy:groovy:2.4.7'
|
|
compile 'com.squareup:javapoet:1.5.1'
|
|
|
|
compile gradleApi()
|
|
compile localGroovy()
|
|
|
|
compile 'com.google.gradle:osdetector-gradle-plugin:1.2.1'
|
|
compile 'net.dongliu:apk-parser:2.2.0'
|
|
}
|
|
|
|
project.ext.RP_ARTIFACT_ID = 'replugin-host-gradle'
|
|
apply from: '../rp-publish.gradle' |