mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Update maven release files
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
6d2dd5ecec
commit
5c22c9f32d
4 changed files with 34 additions and 1 deletions
|
|
@ -1,10 +1,11 @@
|
|||
plugins {
|
||||
id 'com.android.library'
|
||||
id 'jacoco'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
ext {
|
||||
force64Option = System.getProperty("ESCARGOT_BUILD_64BIT_FORCE_LARGE", "OFF")
|
||||
force64Option = System.getProperty("ESCARGOT_BUILD_64BIT_FORCE_LARGE", "ON")
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
@ -87,6 +88,33 @@ android {
|
|||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant("release") {
|
||||
// if you don't want sources/javadoc, remove these lines
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
release(MavenPublication) {
|
||||
afterEvaluate {
|
||||
from components.release
|
||||
}
|
||||
artifactId "escargot-android"
|
||||
groupId "com.samsung.lwe.escargot"
|
||||
version "X.X.X.20XXXXXX.X.XXXXXXXX"
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url "/XXXXXX/android/releases/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def dirForNativeNoNDK = project.layout.buildDirectory.get().dir("native_nondk")
|
||||
|
|
|
|||
1
build/android/publish/android-example
Normal file
1
build/android/publish/android-example
Normal file
|
|
@ -0,0 +1 @@
|
|||
./gradlew publish
|
||||
2
build/android/publish/mac-example
Normal file
2
build/android/publish/mac-example
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
./gradlew bundleHostJar
|
||||
MAVEN_OPTS="-Dmaven.repo.local=${MAVEN_LOCAL_PATH}/mac/releases/" mvn install:install-file -Dfile=${HOME}/escargot/build/libs/escargot.jar -DgroupId=com.samsung.lwe.escargot -DartifactId=escargot-mac -Dversion==X.X.X.20XXXXXX.X.XXXXXXX -Dpackaging=jar
|
||||
2
build/android/publish/ubuntu-example
Normal file
2
build/android/publish/ubuntu-example
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
./gradlew bundleHostJar
|
||||
MAVEN_OPTS="-Dmaven.repo.local=${MAVEN_LOCAL_PATH}/ubuntu/releases/" mvn install:install-file -Dfile=${PWD}/escargot/build/libs/escargot.jar -DgroupId=com.samsung.lwe.escargot -DartifactId=escargot-ubuntu -Dversion=X.X.X.20XXXXXX.X.XXXXXXX -Dpackaging=jar
|
||||
Loading…
Add table
Add a link
Reference in a new issue