This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Showing
384 changed files
with
10,646 additions
and
4,674 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
*.pbxproj text -crlf -diff -merge=union |
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
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,26 +1,22 @@ | ||
apply plugin: 'maven' | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:1.2.3' | ||
classpath 'com.android.tools.build:gradle:1.3.0' | ||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2' | ||
classpath 'com.github.dcendents:android-maven-plugin:1.2' | ||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0' | ||
} | ||
} | ||
|
||
subprojects { | ||
repositories { | ||
mavenLocal() | ||
|
||
maven { | ||
url 'https://repository.liferay.com/nexus/content/groups/liferay-ce' | ||
} | ||
|
||
jcenter() | ||
mavenCentral() | ||
} | ||
|
||
configurations { | ||
|
@@ -35,39 +31,103 @@ subprojects { | |
formatter group: 'org.apache.ant', name: 'ant', version: '1.8.2' | ||
} | ||
|
||
} | ||
|
||
// task format(type: JavaExec) { | ||
// main = 'com.liferay.portal.tools.sourceformatter.SourceFormatter' | ||
// classpath = configurations.formatter | ||
// workingDir = 'src' | ||
// } | ||
// | ||
// task formatResources(type: JavaExec) { | ||
// main = format.main | ||
// classpath = format.classpath | ||
// workingDir = 'res' | ||
// } | ||
// | ||
// task wrapper(type: Wrapper) { | ||
// gradleVersion = '2.2.1' | ||
// } | ||
// | ||
// uploadArchives { | ||
// repositories.mavenDeployer { | ||
// def deployPath = file(getProperty('aar.deployPath')) | ||
// repository(url: "file://${deployPath.absolutePath}") | ||
// pom.project { | ||
// groupId 'com.liferay.mobile' | ||
// artifactId 'liferay-screens' | ||
// version "0.3.2" | ||
// } | ||
// } | ||
// } | ||
subprojects { | ||
|
||
version = '1.2.0' | ||
group = 'com.liferay.mobile' | ||
|
||
} | ||
allprojects { | ||
repositories { | ||
jcenter() | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.github.dcendents:android-maven-plugin:1.2' | ||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2' | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.library' | ||
apply plugin: 'maven' | ||
apply plugin: 'com.jfrog.bintray' | ||
apply plugin: 'com.github.dcendents.android-maven' | ||
|
||
def siteUrl = 'https://github.com/liferay/liferay-screens' | ||
def gitUrl = 'https://github.com/liferay/liferay-screens.git' | ||
|
||
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 | ||
} | ||
|
||
artifacts { | ||
archives javadocJar | ||
archives sourcesJar | ||
} | ||
|
||
install { | ||
repositories.mavenInstaller { | ||
// This generates POM.xml with proper parameters | ||
pom { | ||
project { | ||
packaging 'aar' | ||
|
||
// Add your description here | ||
name 'Liferay Screens for Android includes the component (screenlets) library and a sample project.' | ||
url siteUrl | ||
|
||
// Set your license | ||
licenses { | ||
license { | ||
name 'The Apache Software License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id '1' | ||
name 'Javier Gamarra' | ||
email '[email protected]' | ||
} | ||
} | ||
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 { | ||
// userOrg = 'liferay' | ||
repo = "liferay-mobile" | ||
name = project.archivesBaseName | ||
websiteUrl = siteUrl | ||
vcsUrl = gitUrl | ||
licenses = ["LGPL-2.1"] | ||
publish = true | ||
} | ||
} | ||
} |
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,13 +1,12 @@ | ||
apply plugin: 'com.android.library' | ||
apply plugin: 'maven' | ||
|
||
android { | ||
compileSdkVersion 22 | ||
buildToolsVersion "22.0.1" | ||
compileSdkVersion 23 | ||
buildToolsVersion "23.0.1" | ||
|
||
defaultConfig { | ||
minSdkVersion 15 | ||
targetSdkVersion 22 | ||
targetSdkVersion 23 | ||
versionCode 1 | ||
versionName "1.0" | ||
} | ||
|
@@ -34,120 +33,47 @@ repositories { | |
} | ||
|
||
jcenter() | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
compile 'com.android.support:appcompat-v7:22.2.0' | ||
compile 'com.android.support:recyclerview-v7:22.2.0' | ||
compile 'com.liferay.mobile:liferay-android-sdk:6.2.0.20' | ||
compile 'com.liferay.mobile:liferay-push:1.0.2' | ||
|
||
compile 'de.greenrobot:eventbus:2.4.0' | ||
compile 'com.squareup.picasso:picasso:2.5.0' | ||
compile group: 'com.liferay.mobile', name: 'liferay-android-oauth', version: '1.+' | ||
compile('de.keyboardsurfer.android.widget:crouton:1.8.5@aar') { | ||
exclude group: 'com.google.android', module: 'support-v4' | ||
} | ||
testCompile "junit:junit:4.12" | ||
testCompile "org.robolectric:robolectric:3.0-rc2" | ||
testCompile 'org.mockito:mockito-core:1.9.5' | ||
|
||
} | ||
|
||
version = '1.1.2' | ||
group = 'com.liferay.mobile' | ||
|
||
project.archivesBaseName = 'liferay-screens' | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.github.dcendents:android-maven-plugin:1.2' | ||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0' | ||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.6' | ||
} | ||
} | ||
|
||
apply plugin: 'com.github.dcendents.android-maven' | ||
|
||
def siteUrl = 'https://github.com/liferay/liferay-screens' | ||
def gitUrl = 'https://github.com/liferay/liferay-screens.git' | ||
|
||
install { | ||
repositories.mavenInstaller { | ||
// This generates POM.xml with proper parameters | ||
pom { | ||
project { | ||
packaging 'aar' | ||
|
||
// Add your description here | ||
name 'Liferay Screens for Android includes the component (screenlets) library and a sample project.' | ||
url siteUrl | ||
|
||
// Set your license | ||
licenses { | ||
license { | ||
name 'The Apache Software License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id '1' | ||
name 'Javier Gamarra' | ||
email '[email protected]' | ||
} | ||
} | ||
scm { | ||
connection gitUrl | ||
developerConnection gitUrl | ||
url siteUrl | ||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
apply plugin: 'com.neenbedankt.android-apt' | ||
|
||
task sourcesJar(type: Jar) { | ||
from android.sourceSets.main.java.srcDirs | ||
classifier = 'sources' | ||
} | ||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
compile 'com.android.support:appcompat-v7:23.0.1' | ||
compile 'com.android.support:recyclerview-v7:23.0.1' | ||
|
||
task javadoc(type: Javadoc) { | ||
source = android.sourceSets.main.java.srcDirs | ||
// classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) | ||
} | ||
compile 'com.liferay.mobile:liferay-android-sdk:2.0.2' | ||
compile 'com.liferay.mobile:liferay-push:1.0.7' | ||
|
||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
classifier = 'javadoc' | ||
from javadoc.destinationDir | ||
} | ||
artifacts { | ||
archives javadocJar | ||
archives sourcesJar | ||
} | ||
compile 'de.greenrobot:eventbus:2.4.0' | ||
compile 'com.squareup.picasso:picasso:2.5.2' | ||
|
||
apply plugin: 'com.jfrog.bintray' | ||
compile('com.liferay.mobile:liferay-android-oauth:1.0.3') { | ||
exclude group: 'com.liferay.mobile', module: 'liferay-android-sdk' | ||
} | ||
compile('de.keyboardsurfer.android.widget:crouton:1.8.5@aar') { | ||
exclude group: 'com.google.android', module: 'support-v4' | ||
} | ||
|
||
Properties properties = new Properties() | ||
properties.load(project.rootProject.file('local.properties').newDataInputStream()) | ||
compile 'com.pushtorefresh.storio:sqlite-annotations:1.4.0' | ||
|
||
bintray { | ||
user = properties.getProperty("bintray.user") | ||
key = properties.getProperty("bintray.apikey") | ||
apt 'com.pushtorefresh.storio:sqlite-annotations-processor:1.4.0' | ||
|
||
compile 'com.pushtorefresh.storio:sqlite:1.4.0' | ||
|
||
testCompile "junit:junit:4.12" | ||
testCompile "org.robolectric:robolectric:3.0-rc2" | ||
testCompile 'org.mockito:mockito-core:1.9.5' | ||
|
||
configurations = ['archives'] | ||
pkg { | ||
// userOrg = 'liferay' | ||
repo = "liferay-mobile" | ||
name = "liferay-screens" | ||
websiteUrl = siteUrl | ||
vcsUrl = gitUrl | ||
licenses = ["LGPL-2.1"] | ||
publish = true | ||
} | ||
} |
Oops, something went wrong.