forked from WindySha/Xpatch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
WindySha
committed
Aug 31, 2021
1 parent
6b9a9ce
commit 382a3be
Showing
3 changed files
with
47 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,38 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
allprojects { | ||
apply plugin: 'maven' | ||
apply plugin: 'idea' | ||
apply plugin: 'eclipse' | ||
version = '4.1' | ||
|
||
buildscript { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:7.0.1' | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
|
||
defaultTasks('clean','distZip') | ||
|
||
subprojects { | ||
apply plugin: 'java' | ||
apply plugin: 'maven' | ||
sourceCompatibility = 1.8 | ||
targetCompatibility = 1.8 | ||
|
||
|
||
|
||
// task packageSources(type: Jar) { | ||
// classifier = 'sources' | ||
// from sourceSets.main.allSource | ||
// } | ||
// artifacts.archives packageSources | ||
|
||
repositories { | ||
google() | ||
mavenCentral() | ||
jcenter() | ||
|
||
maven { url "https://jitpack.io" } | ||
} | ||
|
||
[compileJava, compileTestJava]*.options.collect {options ->options.encoding = 'UTF-8'} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: '*.jar') | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes("Implementation-Title": project.name, | ||
"Implementation-Version": project.version, | ||
"Build-Time": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), | ||
"Build-Number": System.env.BUILD_NUMBER?System.env.BUILD_NUMBER:"-1", | ||
) | ||
} | ||
from (project.parent.projectDir) { | ||
include 'NOTICE.txt' | ||
include 'LICENSE.txt' | ||
into('META-INF') | ||
} | ||
} | ||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Mar 06 01:11:44 CST 2019 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-all.zip | ||
zipStoreBase=GRADLE_USER_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters